简体   繁体   English

ADT插件未在Eclipse中创建drawable-xxhdpi文件夹

[英]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. 在具有最新ADT插件(23.0.2.1259578)的最新Eclipse Luna(4.4.0)中创建新的Android应用程序项目不会自动创建res/drawable-xxhdpi文件夹,尽管其他文件夹(drawable,drawable-hdpi,drawable -mdpi,drawable-xhdpi)。

Is that expected? 那是预期的吗? If i remember correctly, the previous ADT version did create it. 如果我没记错的话,以前的ADT版本确实创建了它。 Are xxhdpi screens no longer supported or something? 不再支持xxhdpi屏幕吗?

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. 也许与您的API设置有关,但是无论哪种方式,这都不成问题,仍然支持xxhdpi屏幕,您可以自己创建文件夹,就像使用其他任何标识符一样。

You can also create any other size / density folder s yourself and ADT will automatically recognise them. 您也可以自己创建任何其他尺寸/密度文件夹,ADT会自动识别它们。 Take a look at this link: http://developer.android.com/guide/practices/screens_support.html 看一下此链接: http : //developer.android.com/guide/practices/screens_support.html

  • I think you are using XHDPI graphics because the emulator is emulating an XHDPI device. 我认为您正在使用XHDPI图形,因为仿真器正在仿真XHDPI设备。

public static final int DENSITY_XXHIGH

Added in API level 16 在API级别16中添加


{EDIT} {编辑}

As i posted API-16 must be the minimum-sdk 正如我发布的API-16必须是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 您可以在第二个快照中xxhdpi是在创建项目时自动生成的,而我没有手动创建它

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

Structure :: 结构 ::

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 eclipse会识别drawable-xxhdpi文件夹吗? - would eclipse recognise drawable-xxhdpi folder? 如果图像处于drawable-xxhdpi,则部分显示 - Image displayed partially if in drawable-xxhdpi (Android)如果仅将图像文件放在drawable-xxhdpi文件夹中,它是否可以在具有各种密度的所有设备中使用 - (Android) If I put an image file only in drawable-xxhdpi folder, is it working in all devices which have various densities drawable-xxhdpi的正确大小图标是什么? - What's the correct size icon for drawable-xxhdpi? Galaxy S4从drawable-sw360dp-hdpi而不是drawable-xxhdpi中选择资源? - Galaxy S4 picking resource from drawable-sw360dp-hdpi instead of drawable-xxhdpi? 如何将所有图像放入“ drawable-xxhdpi”阵列中? 特别是在“垫子”阵列中? - How to put all image in “drawable-xxhdpi” in an array? specifically in “Mat” array? Eclipse ADT(android Pugin)拒绝在drawable文件夹中查找图像 - Eclipse ADT (android Pugin) refuses to find images in drawable folder 我是否需要使用所有drawable,drawable-mdpi,drawable-hdpi,drawable-xhdpi,drawable-xxhdpi和drawable-xxxhdpi? - Do I need to use all of drawable, drawable-mdpi, drawable-hdpi, drawable-xhdpi, drawable-xxhdpi & drawable-xxxhdpi? DRAWABLE-V21 中的 Android drawble-xhdpi、drawable-xxhdpi、drawable-xxxhdpi 子文件夹也适用于 DRAWABLE-V23? - Android drawble-xhdpi, drawable-xxhdpi, drawable-xxxhdpi subfolders inside DRAWABLE-V21 also for DRAWABLE-V23? Eclipse ADT插件 - Eclipse ADT plugin
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM