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><requestFocus /></code>, <code><merge /></code> and
20 <code><include /></code>. This article shows how to use <code><include
21 /></code> to create pure XML visual components. For information about how to
22 use <code><merge /></code>, which can be particularly powerful when
23 combined with <code><include /></code>see the <a
27 <p>The <code><include /></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><include /></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><include
56 /></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