多设备混合应用程序-支持Android上的xxhdpi和xxxhdpi密度
我正在使用VisualStudio2013和多设备混合应用程序CTP2.0。在项目模板中,Android有几个占位符屏幕和图标:ldpi、mdpi、hdpi和xhdpi。如何获得对xxhdpi和xxxhdpi密度的支持?我尝试了以下几点:多设备混合应用程序-支持Android上的xxhdpi和xxxhdpi密度,android,assets,visual-studio-cordova,Android,Assets,Visual Studio Cordova,我正在使用VisualStudio2013和多设备混合应用程序CTP2.0。在项目模板中,Android有几个占位符屏幕和图标:ldpi、mdpi、hdpi和xhdpi。如何获得对xxhdpi和xxxhdpi密度的支持?我尝试了以下几点: 将文件添加到res/icons/android(icon-144-xxhdpi.png)和res/screens/android(screen xxhdpi.png) 根据,在config.xml中添加了图标规范 生成后,xxhdpi图像不存在于APK文件中。
res/icons/android
(icon-144-xxhdpi.png)和res/screens/android
(screen xxhdpi.png)生成后,xxhdpi图像不存在于APK文件中。当前Visual Studio不支持xxhdpi或xxxhdpi,因此xxhdpi.png图像确实存在于包(.APK)中。VS CPT2.0支持下面列出的分辨率,您可以在这里看到跨不同平台的完整列表 解决方法包括将xxhdpi或xxxhdpi资源打包:
- icon-36-ldpi.png
- icon-48-mdpi.png
- icon-72-hdpi.png
- icon-96-xhdpi.png
- icon-96-xhdpi.png
- screen-xhdpi-landscape.png
- screen-hdpi-scanner.png
- screen-mdpi-scanner.png
- screen-ldpi-scape.png
- screen-xhdpi-grait.png
- screen-hdpi-grait.png
- screen-mdpi-grait.png
- screen-ldpi-grait.png