diff options
| author | 2012-12-13 11:40:14 -0800 | |
|---|---|---|
| committer | 2012-12-13 11:40:14 -0800 | |
| commit | 933cf8d3d23db08830f94fe1603ddecf351f72f6 (patch) | |
| tree | 014af4e927fc7223f675e04a8f3cc2258e563797 | |
| parent | abe998c5e0550f37d27f9c03dbaf56cc07a03dcb (diff) | |
| parent | 2a87c9da129d23930a4e5fc7c7a34d933129840d (diff) | |
am 2a87c9da: am c49ffcde: am f83ab33c: am 095d6947: docs: explain that layout height/width must be used to override include layouts
* commit '2a87c9da129d23930a4e5fc7c7a34d933129840d':
docs: explain that layout height/width must be used to override include layouts
| -rw-r--r-- | docs/html/training/improving-layouts/reusing-layouts.jd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/html/training/improving-layouts/reusing-layouts.jd b/docs/html/training/improving-layouts/reusing-layouts.jd index fdd3333e889f..87431d3a59c3 100644 --- a/docs/html/training/improving-layouts/reusing-layouts.jd +++ b/docs/html/training/improving-layouts/reusing-layouts.jd @@ -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> |