There is an app that sets 960x800 image as phone's wallpaper. I found that many developers suggest this resolution. However, an image is still getting cropped. I use a basic code for setting the wallpaper
WallpaperManager wallpaperManager = WallpaperManager.getInstance(getApplicationContext());
wallpaperManager.setResource(R.drawable.some_image);
I need an advice on what to do next:
- Make one wallpaper for each screen resolution?
- Programmatically resize image to a current screen resolution?
- I am using the wrong code and there is a better one
If the second choice is the right solution, how should I do it? I'd appreciate some links if there's too much coding involved.
Thanks