我必须使用phonegap为android应用程序设计启动屏幕(加载时适合屏幕的图像).我必须设计4个大小的图像,适合4种类型的屏幕,如ldpi、mdpi、hdpi、xhdpi.有人能告诉我这些屏幕的确切尺寸(以像素为单位)吗?这样我就可以设计这个尺寸了?
示例答案:
ldpi - 1024X768 px
mdpi - 111 X 156 px
We support ldpi, mdpi, hdpi and xhdpi displays; the following will define splash screens for each specific screen type.
<gap:splash src="splash/android/ldpi.png" gap:platform="android" gap:density="ldpi" />
<gap:splash src="splash/android/mdpi.png" gap:platform="android" gap:density="mdpi" />
<gap:splash src="splash/android/hdpi.png" gap:platform="android" gap:density="hdpi" />
<gap:splash src="splash/android/xhdpi.png" gap:platform="android" gap:density="xhdpi" />