ok i have this reponse
n Sun, Dec 19, 2010 at 2:13 PM, Neilz <neilh...@gmail.com> wrote:
Basically I've spent way too many hours trying to get this to work
programmatically with a screen sized (320 * 480) image. It clearly
isn't practical to set wallpaper with an image of those dimensions...
I'm just going to have to tell my client "No..."!
Yes, right, as we've been saying you are supposed to set the wallpaper to the size that the wallpaper manager tells you it should be, and if you do anything else then the platform will adjust it to be the dimensions it wants.
As has been said a number of times now, if you want to do something where you set the wallpaper to be an image the exact size of the screen and turn off parallax scrolling, you can't do that by just setting a static image, you'd need to make a "live" wallpaper. (Which again as I have already said, for a static image is relatively simple, but more than a couple lines of code.)
--
Dianne Hackborn
Android framework engineer
hac...@android.com
- afficher le texte des messages précédents -