[Development stopped in 2014. Unfinished and not stable - not recommended to use.] An easy-to-use ViewPager subclass with parallax background effect for Android apps.
438
stars
86
forks
source link
If not on first page, background image disappears on rotation #14
If the ViewPager is on the first page, screen rotation works just fine. But if on any of the other pages and I rotate my phone, the background image disappears, resulting, in my case, in a white background.
I have tried in vain to reset the background resource on onConfigurationChange().
I am using a resource with the dimensions 1500x1000 as background, set with setBackgroundResource()
even i facing the similar issue. my viewpager background becomes white when i try to relaunch my app(launcher app). I am setting background in onResume of activity.
If the ViewPager is on the first page, screen rotation works just fine. But if on any of the other pages and I rotate my phone, the background image disappears, resulting, in my case, in a white background.
I have tried in vain to reset the background resource on onConfigurationChange().
I am using a resource with the dimensions 1500x1000 as background, set with setBackgroundResource()