Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio 1.0 do not display drawable-hdpi , drawable-xhdpi, drawable-mdpi,drawable-xxhdpi

When I create a new project ,my Android studio 1.0 do not display drawable-hdpi , drawable-xhdpi, drawable-mdpi and drawable-xxhdpi . I don't konw the reason. This is my res directory structure |--res |--drawable |--layout |--menu |--values Someone help?

like image 377
adam Avatar asked Dec 22 '14 07:12

adam


People also ask

Is there a way to create Xxhdpi Xhdpi Hdpi Mdpi and LDPI Drawables from a large scale image?

Option #1: Just ship the -xxhdpi drawables and let Android downsample them for you at runtime (downside: will only work on fairly recent devices, where -xxhdpi is known). Option #2: Use Android Asset Studio to downsample them for you. Option #3: Automate the process within a graphics editor, per ssantos' answer.

How do I make a drawable Xxhdpi folder?

Simply go to project Explorer and change your View from Android to project from drop Down and you are good to go. There you can simply create folder like we do in Eclipse. And in android project view it is hidden but when you switch to project. You can create folder like drawable-hdpi,drawable-xhdpi .

How do you use drawable Xhdpi?

if you use R. drawable. tree then system will choose automatically depending on the screen density. now if you want different image for diffeent resolution you can use different images to show in your app.

What is drawable Xxhdpi?

Drawable xhdpi 官网 Compatible with IntelliJ IDEA (Ultimate, Community, Educational), Android Studio and 13 more. Quickly and easily convert images into images of various densities (LDPI, MDPI, HDPI, XHDPI, XXHDPI, XXXHDPI) used by Android.


1 Answers

This is most likely because your project explorer is viewing them in Android mode. Above the folders there should be a dropdown button which you can choose to view them in Project mode. You should now be able to see the other drawable folders.

like image 194
Joel Avatar answered Sep 27 '22 16:09

Joel