How to see XML files code in Android Studio 3.6.1 [duplicate]

两盒软妹~` 提交于 2020-05-21 05:52:48

问题


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?


回答1:


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




回答2:


Finally i found it. They have moved this options to right of top corner with two icons for code and design views




回答3:


Click this button to view xml.




回答4:


You have three selections on top right of screen.




回答5:


The Simple way with keyboard shortcut

Alt + Shift + Arrow keys L-R




回答6:


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...




回答7:


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.



来源:https://stackoverflow.com/questions/60595805/how-to-see-xml-files-code-in-android-studio-3-6-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!