Note: Unless you choose to add a new layout file from Layout Variants, theseconfigurations have no effect on your app's code or manifest. For more information on working with translations, seeLocalize the UI with Translations Editor. If you'd liketo edit your translations, click Edit Translations from the drop-downmenu. This listdisplays only the languages available in your string resources. Language: Select the language to show for your UI strings.Note that thisworks only for supported layout styles, so many themes in this list result inan error. App theme: Select which UI theme to apply to the preview.API version: Select the version of Android on which to preview yourlayout.Youcan resize the device size by dragging the bottom-right corner of the layout.You can also press D to cycle through the device list. You can select fromseveral pre-configured device types and your own AVD definitions, or you cancreate a new AVD by selecting Add Device Definition from the list. Device type and size: Select the device type (phone/tablet, Android TV,or Wear OS) and screen configuration (size and density).This menu alsocontains commands for creating a new layout variant.You can also press O to change orientation. Screen orientation and layout variants: Choose between landscape andportrait screen orientation, or choose other screen modes for which your appprovides alternative layouts, such as night mode.You can also press B to cycle through these view types. Choose Design + Blueprint to see both views side-by-side. Choose Blueprint to see only outlines for each view. Choose Design to see a rendered preview of your layout. Design and blueprint: Select how you'd like to view your layout in theeditor.Corresponding to the numbers in figure 2, the buttons available are as follows:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |