With IntelliJ IDEA, you can preview the output of the currently opened layout definition file without launching a physical or a virtual device. The preview changes dynamically as you update the layout definition file. Using the layout preview, you can adjust your application to different Android platforms, devices, orientations, dock modes, locales, etc.
Depending on the mode in which you are designing the application layout, you can preview the output in different ways:
- In the dedicated Preview tool window, when editing the layout definition file manually. The tool window appears when you open a layout definition file and switch to the Text tab.
- Right in the editor, when editing the layout using Android UI designer.
On this page:
- Open the required layout definition file in the editor.
- Choose the editing mode:
