cherry-pick: docs: Added note that <application> at end of manifest. am: d5368b8185 am: f5250c5b37 am: b04f86acae
am: 810913f943
* commit '810913f943004211313f8b2338508865a67df4f1':
cherry-pick: docs: Added note that <application> at end of manifest.
Change-Id: Ia16f73bf25261d7ea842c6b615dcc9c04ffe06a6
This commit is contained in:
@@ -187,11 +187,23 @@ Elements at the same level are generally not ordered. For example,
|
|||||||
<code><a href="{@docRoot}guide/topics/manifest/activity-element.html"><activity></a></code>,
|
<code><a href="{@docRoot}guide/topics/manifest/activity-element.html"><activity></a></code>,
|
||||||
<code><a href="{@docRoot}guide/topics/manifest/provider-element.html"><provider></a></code>, and
|
<code><a href="{@docRoot}guide/topics/manifest/provider-element.html"><provider></a></code>, and
|
||||||
<code><a href="{@docRoot}guide/topics/manifest/service-element.html"><service></a></code>
|
<code><a href="{@docRoot}guide/topics/manifest/service-element.html"><service></a></code>
|
||||||
elements can be intermixed in any sequence. (An
|
elements can be intermixed in any sequence. There are two key exceptions to this
|
||||||
<code><a href="{@docRoot}guide/topics/manifest/activity-alias-element.html"><activity-alias></a></code>
|
rule, however:
|
||||||
element is the exception to this rule: It must follow the
|
<ul>
|
||||||
<code><a href="{@docRoot}guide/topics/manifest/activity-element.html"><activity></a></code>
|
<li>
|
||||||
it is an alias for.)
|
An <code><a href="{@docRoot}guide/topics/manifest/activity-alias-element.html"><activity-alias></a></code>
|
||||||
|
element must follow the
|
||||||
|
<code><a href="{@docRoot}guide/topics/manifest/activity-element.html"><activity></a></code>
|
||||||
|
it is an alias for.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
The <code><a href="{@docRoot}guide/topics/manifest/application-element.html"><application></a></code>
|
||||||
|
element must be the last element inside the
|
||||||
|
<code><a href="{@docRoot}guide/topics/manifest/manifest-element.html"><manifest></a></code>
|
||||||
|
element. In other words, the <code></application></code> closing tag
|
||||||
|
must appear immediately before the <code></manifest></code> closing
|
||||||
|
tag.
|
||||||
|
</li>
|
||||||
</p></dd>
|
</p></dd>
|
||||||
|
|
||||||
<dt><b>Attributes</b></dt>
|
<dt><b>Attributes</b></dt>
|
||||||
|
|||||||
Reference in New Issue
Block a user