Android Studio - How to change layout

If you want to change the Layout, you can do Two things:

OPTION 1 1. Simply click into your Xml file and select the "Text" option at the bottom on your screen

enter image description here

2.Change to layout

enter image description here

OPTION 2

1.Just drag another layout in Design and put your items in it, delete your old layout PS. you can have layouts in other layouts

enter image description here

enter image description here

Hope I helped!


In Android Studio 3.6.3 the easiest way to change the Layout is to right-click on the layout in your Component Tree and click Convert view….

Component Tree

Convert View