Lines Matching full:code
9 of the <code><include /></code> without polluting your user interface with
12 <p>A <code>ViewStub</code> is a dumb and lightweight view. It has no dimension,
14 This means that a <code>ViewStub</code> is very cheap to inflate and very cheap
15 to keep in a view hierarchy. A <code>ViewStub</code> can be best described as a
16 <em>lazy include</em>. The layout referenced by a <code>ViewStub</code> is
20 href="http://code.google/p/shelves">Shelves</a> application. The main purpose of
35 by a <code>ViewStub</code>:</p>
39 <p>When the user initiates the import process, the <code>ViewStub</code> is
44 <p>To use a <code>ViewStub</code>, all you need is to specify an
45 <code>android:id</code> attribute, to later inflate the stub, and an
46 <code>android:layout</code> attribute, to reference what layout file
48 <code>android:inflatedId</code>, which can be used to override the
49 <code>id</code> of the root of the included file. Finally, the layout
67 <code>inflate()</code> method has the benefit of returning the root
68 <code>View</code> of the inflate layout:</p>
77 <code>ViewStub</code>.</p>
79 <p>A <code>ViewStub</code> is a great compromise between ease of programming and
81 your view hierarchy, simply use a <code>ViewStub</code>. It's cheap and easy.
82 The only drawback of <code>ViewStub</code> is that it currently does