I'm trying to use WallpaperManager to FIT CENTER a bitmap to the wallpaper of my phone.
- Image size: 3840 x 2160
- Phone size: 1080 x 1920
I've tried numerous strategies:
- myWallpaperManager.suggestDesiredDimensions(width, height);
- Bitmap.createScaledBitmap(mImage, width, height, true);
- Set Wallpaper with bitmap avoid crop and set fit center
- how to fit the whole image on screen as wallpaper
- Wallpaper not properly fit on device screen
- https://developer.android.com/reference/android/app/WallpaperManager.html
- http://androidexample.com/How_to_Set_WallPaper_in_Android/question_answer.php?view=qad&token=39