简体   繁体   中英

How to view Layout Editor instead of XML code in Android Studio?

Android Studio Problem Screenshot

I'm new to android programming, but when I opened android studio, I can't see the layout editor. I've tried opening new projects from scratch, but the same thing happens. It just shows the XML code editor instead of the "drag and drop" layout editor. Does anyone know how to fix this? Thanks.

In the SS you have posted there is build running, and layout editor is available only after build is finished.

nonetheless, after build is finished you can easily access layout editor in android studio 3.6 by pressing the buttons near top-right corner在此处输入图像描述

Did you check by pressing Control + B , Kindly press Ctrl + B on the design screen and it will open the XML layout for you.

在此处输入图像描述

There are three options for viewing your layout resources. You can view the XML, the XML along with the design, or just the design. You can navigate through these options by clicking the buttons of the top right of this image

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM