summaryrefslogtreecommitdiffstats
path: root/docs/html/training/basics
diff options
context:
space:
mode:
authorScott Kennedy <skennedy@google.com>2013-01-16 08:39:47 -0800
committerScott Kennedy <skennedy@google.com>2013-01-16 10:07:13 -0800
commita8396686a20ec7219efb3d1e7050c1cd999ec83e (patch)
tree73a2010ed2fc90f9bd97ccec6be06243a94cff15 /docs/html/training/basics
parent3c3995f5ab2d0bc38cd06effdd65395a6a9a0ac3 (diff)
downloadframeworks_base-a8396686a20ec7219efb3d1e7050c1cd999ec83e.zip
frameworks_base-a8396686a20ec7219efb3d1e7050c1cd999ec83e.tar.gz
frameworks_base-a8396686a20ec7219efb3d1e7050c1cd999ec83e.tar.bz2
docs: Typos and other fixes
External 42844 External 42778 External 42768 External 42730 External 42720 External 42678 External 39381 Change-Id: Ia9d54ce87dc266650d0620fd3adc63137322e20b
Diffstat (limited to 'docs/html/training/basics')
-rw-r--r--docs/html/training/basics/data-storage/databases.jd4
-rw-r--r--docs/html/training/basics/fragments/fragment-ui.jd2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/html/training/basics/data-storage/databases.jd b/docs/html/training/basics/data-storage/databases.jd
index 8b11983..fbefce4 100644
--- a/docs/html/training/basics/data-storage/databases.jd
+++ b/docs/html/training/basics/data-storage/databases.jd
@@ -286,7 +286,7 @@ immune to SQL injection.</p>
// Define 'where' part of query.
String selection = FeedReaderContract.FeedEntry.COLUMN_NAME_ENTRY_ID + &quot; LIKE ?&quot;;
// Specify arguments in placeholder order.
-String[] selelectionArgs = { String.valueOf(rowId) };
+String[] selectionArgs = { String.valueOf(rowId) };
// Issue SQL statement.
db.delete(table_name, selection, selectionArgs);
</pre>
@@ -311,7 +311,7 @@ values.put(FeedReaderContract.FeedEntry.COLUMN_NAME_TITLE, title);
// Which row to update, based on the ID
String selection = FeedReaderContract.FeedEntry.COLUMN_NAME_ENTRY_ID + &quot; LIKE ?&quot;;
-String[] selelectionArgs = { String.valueOf(rowId) };
+String[] selectionArgs = { String.valueOf(rowId) };
int count = db.update(
FeedReaderDbHelper.FeedEntry.TABLE_NAME,
diff --git a/docs/html/training/basics/fragments/fragment-ui.jd b/docs/html/training/basics/fragments/fragment-ui.jd
index 4ec4de5..1e134ca 100644
--- a/docs/html/training/basics/fragments/fragment-ui.jd
+++ b/docs/html/training/basics/fragments/fragment-ui.jd
@@ -47,7 +47,7 @@ tablet which has a wider screen size to display more information to the user.</p
<img src="{@docRoot}images/training/basics/fragments-screen-mock.png" alt="" />
<p class="img-caption"><strong>Figure 1.</strong> Two fragments, displayed in different
-configurations for the same activity on different screen sizes. On a large screen, both fragment
+configurations for the same activity on different screen sizes. On a large screen, both fragments
fit side by side, but on a handset device, only one fragment fits at a time so the fragments must
replace each other as the user navigates.</p>