It's up to you to resize the image as you see fit. Get the device's
preferred wallpaper dimensions with code like this:
final WrapWallpaperManager wallpaperMgr = new WrapWallpaperManager(context);
int wallWidth = wallpaperMgr.getDesiredMinimumWidth();
int wallHeight = wallpaperMgr.getDesiredMinimumHeight();
Then use a Bitmap or two to do the resizing. You'll load the resource into
one of them, rather than direct into the wallpaper.
String
--
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