Center Android Wallpaper -
i'm trying make app changes system wallpaper. in code image has desired minimum dimensions (from wallpapermanager). example on nexus 1 desired minimum dimensions 884x800. when image andset wallpaper automatically "left aligns" can see left side of 884x800 image (the nexus one's screen res 480x800).
is there way can set wallpaper "centered"?
i setting wallpaper this:
wallpapermanager wallpapermanager = wallpapermanager.getinstance(getapplicationcontext()); try { wallpapermanager.setbitmap(bitmap); } catch (ioexception e) { log.e("error", e.tostring()); }
note: if image 480x800 blows can see top left corner when wallpaper.
here example of image 884x800:
here example of looks when set wallpaper:
here example of looks when use 480x800 image:
have tried switch between virtual home screens? aren't @ leftmost virtual home screen?
Comments
Post a Comment