A layout defines the user interface of an activity
or an app widget
. Layouts are declared in XML resource definition files.
See the topic Creating Resources to find out how to create resource folders and resource definition files.
IntelliJ IDEA suggests two main ways to design the user interface of your Android application:
This functionality at the IntelliJ IDEA level is provided through the Android Designer bundled plugin, which is by default enabled. If not, enable it in the Plugin Configuration Wizard or the Plugins page of the Settings dialog box.
You can toggle between these modes by switching between the Design and Text tabs in the editor where the layout definition file is opened.

In the Design mode, you can switch to the manual mode by choosing Go to Declaration on the context menu of the Design pane.
Procedures:
Reference:
External Links:


Web Resources: