am 095d6947: docs: explain that layout height/width must be used to override include layouts
* commit '095d69474b8d9fbe2507f6015d0ef6821af31ae0': docs: explain that layout height/width must be used to override include layouts
This commit is contained in:
@@ -109,6 +109,10 @@ example:</p>
|
|||||||
layout=”@layout/title”/>
|
layout=”@layout/title”/>
|
||||||
</pre>
|
</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>
|
<h2 id="Merge">Use the <merge> Tag</h2>
|
||||||
|
|||||||
Reference in New Issue
Block a user