Home | History | Annotate | Download | only in articles

Lines Matching full:code

13 create UI components easily by writing a custom <code>View</code>, but you can
18 you also use three special tags that are not mapped to a <code>View</code>
19 instance: <code>&lt;requestFocus /&gt;</code>, <code>&lt;merge /&gt;</code> and
20 <code>&lt;include /&gt;</code>. This article shows how to use <code>&lt;include
21 /&gt;</code> to create pure XML visual components. For information about how to
22 use <code>&lt;merge /&gt;</code>, which can be particularly powerful when
23 combined with <code>&lt;include /&gt;</code>see the <a
27 <p>The <code>&lt;include /&gt;</code> element does exactly what its name
31 tree;h=refs/heads/master;hb=master">the source code of the Home application</a>
47 <p>In the <code>&lt;include /&gt;</code> only the <code>layout</code> attribute
48 is required. This attribute, without the <code>android</code> namespace prefix,
52 <code>android:id</code> to specify the id of the root view of the included
55 <code>android:layout_*</code> attribute can be used with the <code>&lt;include
56 /&gt;</code> tag. Here is an example:</p>
64 your activity can be placed in the <code>layout/</code> directory and can
65 include another layout which exists in two flavors, in <code>layout-land/</code>
66 and <code>layout-port/</code>. This allows you to share most of the UI in