How to change an already Existing Layout

Here we have a RelativeLayout and we will change it to LinearLayout.

Open the Graphical Layout of the XML file for which you want to change the Layout.

Open Graphical Layout

Open Graphical Layout

Right click on the RelativeLayout in the Outline section and Click on the Change Layout.

Change Layout

Select LinearLayout from the drop down in the Change Layout Screen.

Select LinearLayout(Vertical)

Select LinearLayout(Vertical)

Click OK, and that’s it your Layout is changed to the LinearLayout.


If you find anything incorrect or you feel that there is any better approach to solve the above problem, please write comment.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

Show Buttons
Hide Buttons