简体   繁体   English

eclipse会识别drawable-xxhdpi文件夹吗?

[英]would eclipse recognise drawable-xxhdpi folder?

Greeting, 问候,

I have attempted to add a xxhdpi folder under the res. 我试图在res下添加一个xxhdpi文件夹。 When I tested on 1080X1920 emulator, why eclipse loads the images where I was placed in drawable-xhdpi (720X1080)? 当我在1080X1920模拟器上测试时,为什么eclipse加载我放在drawable-xhdpi(720X1080)中的图像?

The screen resolution is not indicative of the pixel density. 屏幕分辨率不表示像素密度。 Think of tablets. 想想平板电脑。 Lots of pixels, but only MDPI~HDPI pixel density. 很多像素,但只有MDPI~HDPI像素密度。

In other words, it's using XHDPI graphics because the emulator is emulating an XHDPI device. 换句话说,它使用XHDPI图形,因为仿真器正在模拟XHDPI设备。

Actually no need to add any graphics for XXHDPI it will pick from XHDPI and auto scale it. 实际上不需要为XXHDPI添加任何图形,它将从XHDPI中选择并自动缩放它。

public static final int DENSITY_XXHIGH public static final int DENSITY_XXHIGH

Added in API level 16

Standard quantized DPI for extra-extra-high-density screens. 用于超高密度屏幕的标准量化DPI。 Applications should not generally worry about this density; 应用程序通常不应该担心这种密度; relying on XHIGH graphics being scaled up to it should be sufficient for almost all cases. 依赖XHIGH图形扩展到它应该足以满足几乎所有情况。

Constant Value: 480 (0x000001e0)

in rare care you can also use drawable-xxhdpi or drawable-480dpi folder to place app icon with 144 x 144 px 在罕见的护理中你也可以使用drawable-xxhdpi or drawable-480dpi文件夹来放置144 x 144 px app图标

if you see your android-sdk folder at this below location 如果你在下面的位置看到你的android-sdk文件夹

/home/padmakumar/android-sdk/platforms/android-17/data/res/mipmap-xxhdpi

there you can see an icon sym_def_app_icon.png with 144 x 144px 那里,你可以看到一个图标sym_def_app_icon.png144 x 144px

暂无
暂无

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

相关问题 ADT插件未在Eclipse中创建drawable-xxhdpi文件夹 - drawable-xxhdpi folder not created in Eclipse by ADT plugin 如果图像处于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? 我是否需要使用所有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? XXHDPI中的可绘制箭头 - Drawable Arrow in XXHDPI 如果已经有drawable,我们是否还需要Android资源中的drawable文件夹 - hpi,mdpi,xhdpi,xxhdpi,xxxhdpi - Do we still need drawable folder in Android Resources if already have drawable - hpi, mdpi, xhdpi,xxhdpi, xxxhdpi
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM