2

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

enter image description here

I tried invalidate cache and restart, clean project, build project, sync gradle files, restarted my system nothing works.

What is causing this odd behaviour ?

Amal p
  • 2,882
  • 4
  • 29
  • 49
  • See my answer for this question please: https://stackoverflow.com/questions/60595805/how-to-see-xml-files-code-in-android-studio-3-6-1/60595883#60595883 – MMG Apr 08 '20 at 05:57
  • Does this answer your question? [How to see XML files code in Android Studio 3.6.1](https://stackoverflow.com/questions/60595805/how-to-see-xml-files-code-in-android-studio-3-6-1) – MMG Apr 08 '20 at 05:57
  • This question already has an answer here https://stackoverflow.com/a/16660112/10752944 – Kartik Apr 08 '20 at 06:08
  • 4
    Does this answer your question? [Where is Android Studio layout preview?](https://stackoverflow.com/questions/16660039/where-is-android-studio-layout-preview) – Kartik Apr 08 '20 at 06:09

3 Answers3

7

Click on button which is top right corner.

enter image description here

Also, Update Android Studio 3.6.2 because in 3.6.1 some databinding issue is there.

Shweta Chauhan
  • 6,739
  • 6
  • 37
  • 57
2

Please look at top Right corner. You'll see three diffrent icon. Now you know :)

Parth
  • 791
  • 7
  • 17
2

In android studio 3.6.1 designing and editor shifted to the upper right corner.

Akshay Rajput
  • 250
  • 4
  • 11