Merge change Ib43ec8f6 into eclair
* changes: 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.
This commit is contained in:
@@ -5,17 +5,17 @@ page.title=<activity>
|
||||
<dt>syntax:</dt>
|
||||
<dd><pre class="stx"><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=<activity>
|
||||
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"] > <!-- ##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"] > <!-- ##api level 3## -->
|
||||
. . .
|
||||
</activity></pre></dd>
|
||||
|
||||
|
||||
@@ -445,7 +445,7 @@ element. For example, an activity could be protected as follows:
|
||||
<permission android:name="com.example.project.DEBIT_ACCT" . . . />
|
||||
. . .
|
||||
<application . . .>
|
||||
<activity android:name="com.example.project.FreneticActivity" . . . >
|
||||
<activity android:name="com.example.project.FreneticActivity"
|
||||
android:permission="com.example.project.DEBIT_ACCT"
|
||||
. . . >
|
||||
. . .
|
||||
|
||||
Reference in New Issue
Block a user