summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/topics/manifest
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2009-12-14 14:37:53 -0800
committerScott Main <smain@google.com>2009-12-14 14:37:53 -0800
commitb43ec8f631878d539dbfa3551e87bd439a9f511c (patch)
treeb3198dfc7408dcb3a59499ba5d622d02c6fe0dc2 /docs/html/guide/topics/manifest
parentb9b45a5e26ed020a39a507a173d9f29e336cf989 (diff)
downloadframeworks_base-b43ec8f631878d539dbfa3551e87bd439a9f511c.zip
frameworks_base-b43ec8f631878d539dbfa3551e87bd439a9f511c.tar.gz
frameworks_base-b43ec8f631878d539dbfa3551e87bd439a9f511c.tar.bz2
docs: fix some typos in the manifest docs samples and
remove the "one or more of" phrase from the syntax snippet because it interferes with the syntax coloring.
Diffstat (limited to 'docs/html/guide/topics/manifest')
-rw-r--r--docs/html/guide/topics/manifest/activity-element.jd24
-rw-r--r--docs/html/guide/topics/manifest/manifest-intro.jd2
2 files changed, 13 insertions, 13 deletions
diff --git a/docs/html/guide/topics/manifest/activity-element.jd b/docs/html/guide/topics/manifest/activity-element.jd
index 83237c6..5362dd8 100644
--- a/docs/html/guide/topics/manifest/activity-element.jd
+++ b/docs/html/guide/topics/manifest/activity-element.jd
@@ -5,17 +5,17 @@ page.title=&lt;activity&gt;
<dt>syntax:</dt>
<dd><pre class="stx">&lt;activity android:<a href="#reparent">allowTaskReparenting</a>=["true" | "false"]
android:<a href="#always">alwaysRetainTaskState</a>=["true" | "false"]
- android:<a href="#clear">clearTaskOnLaunch</a>=["true"" | "false"]
- android:<a href="#config">configChanges</a>=[<i>one or more of</i>: "mcc" "mnc" "locale"
- "touchscreen" "keyboard" "keyboardHidden"
- "navigation" "orientation" "fontScale"]
+ android:<a href="#clear">clearTaskOnLaunch</a>=["true" | "false"]
+ android:<a href="#config">configChanges</a>=["mcc", "mnc", "locale",
+ "touchscreen", "keyboard", "keyboardHidden",
+ "navigation", "orientation", "fontScale"]
android:<a href="#enabled">enabled</a>=["true" | "false"]
android:<a href="#exclude">excludeFromRecents</a>=["true" | "false"]
android:<a href="#exported">exported</a>=["true" | "false"]
android:<a href="#finish">finishOnTaskLaunch</a>=["true" | "false"]
android:<a href="#icon">icon</a>="<i>drawable resource</i>"
android:<a href="#label">label</a>="<i>string resource</i>"
- android:<a href="#lmode">launchMode</a>=["multiple" | "singleTop" |
+ android:<a href="#lmode">launchMode</a>=["multiple" | "singleTop" |
"singleTask" | "singleInstance"]
android:<a href="#multi">multiprocess</a>=["true" | "false"]
android:<a href="#nm">name</a>="<i>string</i>"
@@ -23,16 +23,16 @@ page.title=&lt;activity&gt;
android:<a href="#prmsn">permission</a>="<i>string</i>"
android:<a href="#proc">process</a>="<i>string</i>"
android:<a href="#screen">screenOrientation</a>=["unspecified" | "user" | "behind" |
- "landscape" | "portrait" |
+ "landscape" | "portrait" |
"sensor" | "nonsensor"]
android:<a href="#state">stateNotNeeded</a>=["true" | "false"]
android:<a href="#aff">taskAffinity</a>="<i>string</i>"
- android:<a href="#theme">theme</a>="<i>resource or theme</i>"
- android:<a href="#wsoft">windowSoftInputMode</a>=[<i>one or more of</i>: "stateUnspecified"
- "stateUnchanged" "stateHidden"
- "stateAlwaysHidden" "stateVisible"
- "stateAlwaysVisible" "adjustUnspecified"
- "adjustResize" "adjustPan"] &gt; <!-- ##api level 3## -->
+ android:<a href="#theme">theme</a>="<i>resource or theme</i>"
+ android:<a href="#wsoft">windowSoftInputMode</a>=["stateUnspecified",
+ "stateUnchanged", "stateHidden",
+ "stateAlwaysHidden", "stateVisible",
+ "stateAlwaysVisible", "adjustUnspecified",
+ "adjustResize", "adjustPan"] &gt; <!-- ##api level 3## -->
. . .
&lt;/activity&gt;</pre></dd>
diff --git a/docs/html/guide/topics/manifest/manifest-intro.jd b/docs/html/guide/topics/manifest/manifest-intro.jd
index 89171c1..c3e4a99 100644
--- a/docs/html/guide/topics/manifest/manifest-intro.jd
+++ b/docs/html/guide/topics/manifest/manifest-intro.jd
@@ -445,7 +445,7 @@ element. For example, an activity could be protected as follows:
&lt;permission android:name="com.example.project.DEBIT_ACCT" . . . /&gt;
. . .
&lt;application . . .&gt;
- &lt;activity android:name="com.example.project.FreneticActivity" . . . &gt;
+ &lt;activity android:name="com.example.project.FreneticActivity"
android:permission="com.example.project.DEBIT_ACCT"
. . . &gt;
. . .