summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2009-12-14 14:37:53 -0800
committerandroid-build SharedAccount <android-build@sekiwake.mtv.corp.google.com>2009-12-16 15:06:06 -0800
commit6c8594865ba4bf23252527404eb826ba24dd02ff (patch)
treef5874f7026cb45bceb80fc5b5c1888018adc64a9
parent67f6c5d6c01e2147eb113da3964c96954c537c59 (diff)
downloadbase-6c8594865ba4bf23252527404eb826ba24dd02ff.tar.gz
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.
-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 83237c61dd5b..5362dd8b50f3 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 89171c1d42f1..c3e4a99584e5 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;
. . .