Create Layout Dialog
The dialog box opens when you create a component of the activity or fragment type, and select the Create layout file check box.
In this dialog box, specify the layout name, its root element, and the set of qualifiers to be included in this layout.
Item | Description |
---|---|
File name | In this text box, specify the name of the layout definition file associated with the new component. Only lowercase letters and numbers are supported. |
Root element | In this text box, specify the root element of the layout. Press Ctrl+Space to get a list of available values. The value must be of the View or ViewGroup type, learn more at http://developer.android.com/guide/topics/resources/layout-resource.html. |
Directory name | In this text box, specify the folder where the layout definition will be stored relative to the res folder.
For details, see Creating Resources. |
Available qualifiers | From this list, select the resource qualifiers that determine a specific device configuration. Select the relevant qualifier and click . Then specify the value of the qualifier in the dialog box that opens. The qualifier is added to the Chosen qualifiers list. |
See Also
Last modified: 18 July 2017