Anil M
Anil M

Reputation: 1307

Graphical view of layout in intellij Idea for android studio?

By default graphical view is not opening in android studio.. and I'm unable to find toggle which says Design/Text in layout view..where to find?

enter image description here

enter image description here

Upvotes: 2

Views: 5031

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 402403

If you open any layout file, the switch will be displayed as tabs at the bottom:

Design/Text switch

Note that you need to have Android Designer plug-in enabled:

designer

It's also important to open the files from the src/main/res/layout directory, not from the build directory.

If you open a file under build, latest Android Studio will display a warning on the top of the file:

warning

Files under the build folder are generated and should not be edited.

Upvotes: 3

Related Questions