Question

I am new to android. I am following this tutorial in android studio. Actually, that tutorial is developed in eclipse.

In that tutorial, I need to have layout_large. But I don't see that in android studio. So, I create layout_large as android resource directory and try to add xml file. But, I can't add there because I don't see layout resource file. How can I add layout_large in android studio?

I am just following this tutorial. http://www.newthinktank.com/2013/08/android-development-17/

enter image description here

Was it helpful?

Solution

Call context menu on res folder and choose New->Android resource directory.

enter image description here

In the dialog choose Resource type to layout and add to Directory name "-large".

enter image description here

Then copy layout you want to change from res/layout folder to layout-large.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top