Loading docs/html/training/improving-layouts/reusing-layouts.jd +4 −0 Original line number Diff line number Diff line Loading @@ -109,6 +109,10 @@ example:</p> layout=”@layout/title”/> </pre> <p>However, if you want to override layout attributes using the <code><include></code> tag, you must override both <code>android:layout_height</code> and <code>android:layout_width</code> in order for other layout attributes to take effect.</p> <h2 id="Merge">Use the <merge> Tag</h2> Loading Loading
docs/html/training/improving-layouts/reusing-layouts.jd +4 −0 Original line number Diff line number Diff line Loading @@ -109,6 +109,10 @@ example:</p> layout=”@layout/title”/> </pre> <p>However, if you want to override layout attributes using the <code><include></code> tag, you must override both <code>android:layout_height</code> and <code>android:layout_width</code> in order for other layout attributes to take effect.</p> <h2 id="Merge">Use the <merge> Tag</h2> Loading