diff options
Diffstat (limited to 'docs/html/guide/topics/resources/layout-resource.jd')
-rw-r--r-- | docs/html/guide/topics/resources/layout-resource.jd | 12 |
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> <?xml version="1.0" encoding="utf-8"?> <<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>] > + 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>] > <<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>] > + 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>] > <<a href="#requestfocus-element">requestFocus</a>/> </<em>View</em>> <<a href="#viewgroup-element"><em>ViewGroup</em></a> > |