summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/topics/resources/layout-resource.jd
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/guide/topics/resources/layout-resource.jd')
-rw-r--r--docs/html/guide/topics/resources/layout-resource.jd12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/html/guide/topics/resources/layout-resource.jd b/docs/html/guide/topics/resources/layout-resource.jd
index a6b177f..2c51d54 100644
--- a/docs/html/guide/topics/resources/layout-resource.jd
+++ b/docs/html/guide/topics/resources/layout-resource.jd
@@ -36,14 +36,14 @@ In XML: <code>@[<em>package</em>:]layout/<em>filename</em></code>
&lt;?xml version="1.0" encoding="utf-8"?>
&lt;<a href="#viewgroup-element"><em>ViewGroup</em></a> xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/<em>name</em>"
- android:layout_height="@+id/<em>string_name</em>"
- android:layout_width="@+id/<em>string_name</em>"
- [<em>other attributes</em>] &gt;
+ android:layout_height=["<em>dimension</em>" | "fill_parent" | "wrap_content"]
+ android:layout_width=["<em>dimension</em>" | "fill_parent" | "wrap_content"]
+ [<em>ViewGroup-specific attributes</em>] &gt;
&lt;<a href="#view-element"><em>View</em></a>
android:id="@+id/<em>name</em>"
- android:layout_height="@+id/<em>string_name</em>"
- android:layout_width="@+id/<em>string_name</em>"
- [<em>other attributes</em>] &gt;
+ android:layout_height=["<em>dimension</em>" | "fill_parent" | "wrap_content"]
+ android:layout_width=["<em>dimension</em>" | "fill_parent" | "wrap_content"]
+ [<em>View-specific attributes</em>] &gt;
&lt;<a href="#requestfocus-element">requestFocus</a>/&gt;
&lt;/<em>View</em>&gt;
&lt;<a href="#viewgroup-element"><em>ViewGroup</em></a> &gt;