Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 557
The Bala Avatar asked Mar 09 '20 06:03

The Bala


People also ask

How can I see the XML file in Android Studio?

xml files. In the Project > Android panel on the left, select ModuleName > res > values. Double-click strings. xml to open it for editing.

How can I see the XML code?

If all you need to do is view the data in an XML file, you're in luck. Just about every browser can open an XML file. In Chrome, just open a new tab and drag the XML file over. Alternatively, right click on the XML file and hover over "Open with" then click "Chrome".

Where can I find Activity_main XML?

In the Project window, open app > res > layout > activity_main. xml.

Where is the code editor in Android Studio?

To customize your code style settings, click File > Settings > Editor > Code Style (Android Studio > Preferences > Editor > Code Style on a Mac.)


3 Answers

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

like image 117
Septimiu Avatar answered Oct 06 '22 13:10

Septimiu


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

like image 24
The Bala Avatar answered Oct 06 '22 13:10

The Bala


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

like image 9
Destroyer Avatar answered Oct 06 '22 12:10

Destroyer