Hey all- I apologize in advance if the list receives two copies of this... I was having some issues with my Google account for the past few hours and it doesn't appear as if this post made it through.
I am trying to display my splash screen image [I use the splash when fetching data from a Web API] as a windowBackground so it will come up instantly when the user starts the Activity rather than seeing the default theme background before an ImageView is loaded in. My problem is my image is 854x854 square [so it will look perfect and fill the screen on all production Android devices] and I need to use something like scaleType="centerCrop" [this worked great on my ImageView but won't work when I try to apply it to the <bitmap> drawable I am using as my background. Here is the declaration of my drawable [/res/drawable/splash_bg.xml] (not including the XML doctype line) <bitmap xmlns:android="http://schemas.android.com/apk/res/android" android:src="@drawable/grub_truck_splash" /> The image IS showing as the background, however it will not scale properly whether I use android:scaleType="centerCrop" or android:gravity="clip_horizontal" or android:gravity="clip_vertical" [I can't tell how the latter two attributes are in any way useful.. they definitely do something but it's not quite visually pleasing... an explanation of these would be nice, just out of curiosity.] Any help would be great! Thanks, Nick -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.

