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


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

Answered By – OneCricketeer

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published