Android-Studio to show XML code instead of design

后端 未结 8 1436
后悔当初
后悔当初 2021-02-01 11:33

I\'m using IntelliJ Android-Studio 0.8.2 and i\'d like to know if it\'s possible to open the code by default when editing XML files?

Opening multiple files alwa

8条回答
  •  梦如初夏
    2021-02-01 12:34

    Newer (I guess 2.x+) versions of Android Studio have this option in the main settings:

    Open the settings with one of the following actions:

    • Press Ctrl+Alt+S.
    • On the main menu, choose File | Settings for Windows and Linux or IntelliJ IDEA | Preferences for OS X
    • Press Ctrl+Shift+A, type settings and press Enter.

    Then navigate to the following sub-menu:

    Editor -> Layout Editor -> "Prefer XML editor"
    

提交回复
热议问题