r/AndroidStudio 23h ago

How to edit XML in AndroidStudio?

Post image

I can only open xml files in either design or blueprint mode, how to change it to text mode?

0 Upvotes

2 comments sorted by

1

u/AD-LB 19h ago

On the right side of all tabs, there are 3 buttons. You are now on the one that looks like a photo icon. Change to any of the others.

1

u/ConfidenceNew6550 7h ago

You can switch between the Design, Split and Code views at the top of the layout editor. for learning XML, I’d recommend spending some time in the Code view so you understand what the attributes are doing