drawable-xxhdpi
我必须使用新文件夹扩展应用程序。我能够运行模拟器,但应用程序仍在从drawable-xhdpi
.
我添加了文件夹(eclipse->添加新文件夹)并命名它。
我尝试将其重命名drawable-xxhdpi
为drawable-480dpi
-> 无效
这些是我对模拟器的设置(链接)。我尝试了不同的Size
喜欢XLarge
->没有效果):
我究竟做错了什么?
drawable-xxhdpi
我必须使用新文件夹扩展应用程序。我能够运行模拟器,但应用程序仍在从drawable-xhdpi
.
我添加了文件夹(eclipse->添加新文件夹)并命名它。
我尝试将其重命名drawable-xxhdpi
为drawable-480dpi
-> 无效
这些是我对模拟器的设置(链接)。我尝试了不同的Size
喜欢XLarge
->没有效果):
我究竟做错了什么?
经过更多研究,我在 这里找到了解决方案!手动重启 adb 为我解决了这个问题!
In the Android SDK Tools version 21.1, the xxhdpi screen resolution for
the emulator display is not yet supported. However, you could do a manual
override of the LCD properties of the emulator. This will ensure that the
correct resources are being dispatched for the Xperia™ Z emulator. To do so,
please execute the following in your command line after the Xperia™ Z emulator
has completed the boot sequence:
//(on osx/linux use "./adb shell")
adb shell setprop qemu.sf.lcd_density 480
adb shell stop
adb shell start
The emulator will then restart. After it has rebooted the emulator
should use the correct screen density and UI scaling. We recommend
you to execute these commends using a batch file or a shell script
if you are using these settings often.