Do'h, skipping the Android question, here is the Android section from my config.xml:
<gap:splash src="img/splash/android/ldpi.png" gap:platform="android" gap:density="ldpi" /> <gap:splash src="img/splash/android/mdpi.png" gap:platform="android" gap:density="mdpi" /> <gap:splash src="img/splash/android/hdpi.png" gap:platform="android" gap:density="hdpi" />
Yes, Apple is a lot easier! On Android, they go by a qualifier called "density."
As far as I know, PhoneGap Build only supports three out of four right now. ldpi, mdpi, hdpi and NOT xdpi (so it is commented above).
All Android devices will use one of these four sizes, I understand. Getting the perfect aspect ratio on hundreds of different devices can be a little tricky, but at least you're getting close.
Read this, I know this is a lot, but worth reading: http://developer.android.com/guide/practices/screens_support.html#support
And, the PGB manual: http://build.phonegap.com/docs/config-xml
source share