Coin_op Coin_op - 1 month ago 16
Android Question

How do I delete only a landscape specific xml layout file?

How do I delete a landscape specific layout file?

In the image below if I press delete or right click and go delete it removes both the landscape and the default xml.

I realize I can remove it from the filesystem through windows explorer, but there has to be a way to this through the IDE (Android studio).

enter image description here

Answer

Change the project explorer from the Android layout to the Project layout.

Open up res/layout-land, then delete the file from there.

Could also do it from the terminal / OS file-explorer

Comments