Open AndroidDeveloperLB opened 3 months ago
I will try to check it and fix it as soon as I have free time. Thank you.
@SCratORS
onOffsetsChanged
alone ? This can help to learn about it, and also handle issues. You can also have the license there to be more permissive . Please? Or maybe I can make such a repository with a more permissive license, that is based on yours?
As the title says. The scaling might even have empty space (black) when doing so. And if often shows there is nowhere to scroll horizontally. Best way to check this out is to have a large-resolution of a square image/video, I think.
It seems the reason for this is that the new screen resolution (switching between width&height) doesn't affect the app in any way when it was portrait before.
This feature of changing orientation is available on various launchers, such as Nova launcher and even Pixel launcher.
Please tell how to fix it. Maybe use onConfigurationChange, to tell the live wallpaper engine to check again the parameters? Or maybe onSurfaceChanged should update the value of mScreenSize in ImageWallpaperSCRender, and not just in ImageWallpaperSCService ?
I thought that maybe in viewRecreate , in the part of "If the image size has changed", it's supposed to be "||" and not "&&" for the setting of the centering-camera, but it seems it doesn't help. I thought so because it should reset when either the size has changed or the orientation has changed, probably...