IntelliJ IDEA 13.1 Web Help

11.0+

The tool window appears when you open a layout definition file for the first time and remains on the screen until you close it manually by clicking the Preview tool window button. After that it remains hidden until you open it manually by clicking the Preview tool window button again.


In this tool window, emulate the required target device configuration and view the output of the currently opened layout definition file in it without launching a physical or virtual device. This helps you adjust your application to various Android platforms, devices with various screen sizes, orientations, doc modes, night/notnight modes, locales, etc.

In this section:

Toolbar

Item Tooltip Description
collapseAll.png Zoom to fit Toggle this button to have IntelliJ IDEA compress or expand the preview so it fits the target screen size.
erDiagramIconActualSize.png Zoom to Actual Size Click this button to have IntelliJ IDEA
erDiagramIconZoomIn.png Zoom In Click this button to have IntelliJ IDEA expand the preview.
erDiagramIconZoomOut.png Zoom Out Click this button to have IntelliJ IDEA compress the preview.
refresh.png Refresh Click this button to have IntelliJ IDEA update the preview so it reflects the changes to the current layout definitions, if it has not been done on-the-fly.
projectToolWindowSettingsIcon.png Options Click this button to configure appearance and behavior of the tool window.
  • Hide for non-layout file: select this option to have IntelliJ IDEA temporarily close the tool window when the focus in the editor switches to a non-layout file. As soon as the same or another layout definition file is in focus, the tool window re-appears automatically.

    Note

    The tool window does not re-appear automatically if you close it manually by clicking the Preview tool window button.

Controls

From the drop-down lists in this area, choose the following alternative resources to emulate the required target device configuration:

See Also

Reference:

Getting Started:

Android:

Web Resources: