简体   繁体   中英

drawable-xxhdpi folder not created in Eclipse by ADT plugin

Creating a new Android application project in the latest Eclipse Luna(4.4.0) with the latest ADT plugin(23.0.2.1259578) is not automatically creating a res/drawable-xxhdpi folder, although the other folders(drawable, drawable-hdpi, drawable-mdpi, drawable-xhdpi ) are created.

Is that expected? If i remember correctly, the previous ADT version did create it. Are xxhdpi screens no longer supported or something?

Maybe it has something to do with your API settings, but either way, it's not a problem, xxhdpi screens are still supported and you can create the folder yourself, just like you can with any other identifier.

You can also create any other size / density folder s yourself and ADT will automatically recognise them. Take a look at this link: http://developer.android.com/guide/practices/screens_support.html

  • I think you are using XHDPI graphics because the emulator is emulating an XHDPI device.

public static final int DENSITY_XXHIGH

Added in API level 16


{EDIT}

As i posted API-16 must be the minimum-sdk

I have tested it

You can notice in the second snapshot the xxhdpi was automatically generated with the project creation and i didn't manually create it

Settings :: 在此处输入图片说明

Structure ::

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM