You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Using Android's XML vocabulary, you can quickly design UI layouts and the screen elements they contain, in the same way you create web pages in HTML — with a series of nested elements. </p>
91
86
92
87
<p>Each layout file must contain exactly one root element, which must be a View or ViewGroup object. Once you've defined the root element, you can add additional layout objects or widgets as child elements to gradually build a View hierarchy that defines your layout. For example, here's an XML layout that uses a vertical {@link android.widget.LinearLayout}
@@ -111,7 +106,8 @@ to hold a {@link android.widget.TextView} and a {@link android.widget.Button}:</
111
106
<p>After you've declared your layout in XML, save the file with the <code>.xml</code> extension,
112
107
in your Android project's <code>res/layout/</code> directory, so it will properly compile. </p>
113
108
114
-
<p>We'll discuss each of the attributes shown here a little later.</p>
109
+
<p>More information about the syntax for a layout XML file is available in the <a
0 commit comments