Lines Matching refs:merge
5 reuse and share your layout code. This article explains the <code><merge /></code> tag and how
8 <p>The <code><merge /></code> tag was created for the purpose of
61 <p>That's where the <code><merge /></code> tag comes in handy. When the
63 the <code><merge /></code> children to the <code><merge /></code>
65 <code>FrameLayout</code> with <code><merge /></code>:</p>
67 <pre class="prettyprint"><merge xmlns:android="http://schemas.android.com/apk/res/android">
89 </merge></pre>
96 …gn: center;"><img src="images/merge3.png" alt="Optimized view hierarchy using the merge tag"></div>
98 <p>Obviously, using <code><merge /></code> works in this case because the
101 as its root tag for instance. The <code><merge /></code> can be useful in
103 <code><include /></code> tag. You can also use <code><merge
111 <pre class="prettyprint"><merge
113 xmlns:okCancelBar="http://schemas.android.com/apk/res/com.example.android.merge">
122 <com.example.android.merge.OkCancelBar
135 </merge></pre>
139 …align: center;"><img src="images/merge4.jpg" alt="Creating a custom view with the merge tag"></div>
171 use the <code><merge /></code> tag to add the two buttons directly to the
175 <pre class="prettyprint"><merge xmlns:android="http://schemas.android.com/apk/res/android">
183 </merge></pre>
190 <p>The <code><merge /></code> tag is extremely useful and can do wonders
194 <li><code><merge /></code> can only be used as the root tag of an XML layout</li>
195 <li>When inflating a layout starting with a <code><merge /></code>, you <strong>must</strong>