Home » » Android studio add different size drawable and layout folder

Android studio add different size drawable and layout folder

how can i add those folders in my project in android studio
res/drawable-ldpi/
res/drawable-ldpi-v8/
res/drawable-ldpi-v11/
res/drawable-mdpi/
res/drawable-mdpi-v8/
res/drawable-mdpi-v11/
res/drawable-hdpi/
res/drawable-hdpi-v8/
res/drawable-hdpi-v11/
res/drawable-xhdpi/
res/drawable-xhdpi-v8/
res/drawable-xhdpi-v11/
res/drawable-xxhdpi/
res/drawable-xxhdpi-v8/
res/drawable-xxhdpi-v11/
res/layout-land
res/layout-small-port-v4
res/layout-sw600dp-v13
res/layout-w480dp-v13
res/layout-v11
res/layout-port
i just made new project and i cant see any folder of those in my project
this is image of my project folders
enter image description here
------Answers----
1.
you have to create new folder inside res folder
2.
In Android Studio, at the top right where you have your project structure and Android View is selected, choose "Project", and you will be able to see the full hierarchy of your project. From there you can achieve what you are trying to do.
3.
Since these are folders, you can always use Windows Explorer to add them.
In Android Studio, the Project Window is currently in the default Android View. If you want to see the physical directory structure, you need to change it to the Project View by clicking on the drop down menu at the top of the Project Window.
enter image description here
Now you can add folders any where you want similar to how you do in Windows Explorer.







0 nhận xét:

Post a Comment

Popular Posts

Powered by Blogger.