问题
When i opened studio(Android studio 3.6.1
) today. The layouts are not opening in an XML editor its not showing the XML editor but only the design part.
Screenshot below
I tried invalidate cache and restart, clean project, build project, sync gradle files
, restarted my system nothing works.
What is causing this odd behaviour ?
回答1:
Click on button which is top right corner.
Also, Update Android Studio 3.6.2 because in 3.6.1 some databinding issue is there.
回答2:
In android studio 3.6.1 designing and editor shifted to the upper right corner.
回答3:
Please look at top Right corner. You'll see three diffrent icon. Now you know :)
来源:https://stackoverflow.com/questions/61094141/android-studio-3-6-1-layout-not-opening-in-an-editor-studio-not-showing-the-xm