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:
Scott Main
2012-12-13 11:34:14 -08:00
committed by Android Git Automerger

View File

@@ -109,6 +109,10 @@ example:</p>
layout=”@layout/title”/>
</pre>
<p>However, if you want to override layout attributes using
the <code>&lt;include&gt;</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 &lt;merge&gt; Tag</h2>