27

I have updated my android studio to 3.6.1 . Everything looks so good but i could not found the xml files code to view. They have removed the left side corner options to view design / code of xml file. Now how can i see it?

The Bala
  • 1,313
  • 1
  • 15
  • 23

7 Answers7

36

They move the buttons in top right corner under the files opened. Now you have 3 options instead of 2!

They move the buttons in top right corner under the files opened

Septimiu
  • 483
  • 5
  • 9
13

Finally i found it. They have moved this options to right of top corner with two icons for code and design views See the below image for more details

The Bala
  • 1,313
  • 1
  • 15
  • 23
9

https://imgur.com/XMIn9hB Click this button to view xml.

Destroyer
  • 785
  • 8
  • 20
9

enter image description here

You have three selections on top right of screen.

MMG
  • 3,226
  • 5
  • 16
  • 43
3

Android Studio 3.6.1

Trick to default open split design/ code for xml file

File -> Settings -> Editor -> Layout Editor -> check the checkbox "Prefer XML Editor"

On Windows ctrl + Shift + A -> prefer XML...

output

jose praveen
  • 1,298
  • 2
  • 10
  • 17
2

The Simple way with keyboard shortcut

Alt + Shift + Arrow keys L-R

code4rox
  • 941
  • 9
  • 34
0

Design editors, such as the Layout Editor and Navigation Editor, now provide a Split view that enables you to see both the Design and Code views of your UI at the same time. To enable split view, click the Split icon in the top-right corner of the editor window.

kaushal malvi
  • 72
  • 1
  • 6