I'm still having exactly the same problem as I always had. It doesn't matter if I resize the image, when I set it as the wallpaper, it doesn't fit the screen.
The problem is this... android has a number of home screens, right? So you can scroll from one screen to another. My Nexus has five screens, my Hero has 7, and the Samsung I'm looking at now has 3. So the OS tries to stretch the image to fit the entire backdrop which contains all these home screens. I need to fix the image, regardless of whether the user is scrolling between screens. On Dec 18, 3:36 pm, Neilz <[email protected]> wrote: > Many thanks, I'll give that a go. > > On Dec 18, 3:32 pm, String <[email protected]> wrote: > > > 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

