Android-Studio to show XML code instead of design

后端 未结 8 1456
后悔当初
后悔当初 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:12

    Since in the new update, the feature of viewing the code of XML has changed, there are some series of steps that are needed to be followed.

    Step 1: Press Ctrl + Alt + S (Basically opening settings)

    The screen visible to you after Step 1

    Step 2:Click on the layout editor and choose the default Editor mode as you wish. In my case I want it to be in split mode (You will be able to see both code and its output at the same screen or window).

    Step 3: Click on Apply and OK.

    Apply and Ok output screen

    Step 4: Close all the opened XML or the design files . Now after this step , if you open any other file present at your project, you would be realizing that the mode in which the file is opened is at the mode you chose at the Step 2 .

提交回复
热议问题