android / views-widgets-samples

Multiple samples showing the best practices in views-widgets on Android.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ViewPager2 is messing up insets for Android 9

TobbbeSv opened this issue · comments

Since we updated from viewPager2 1.1.0-alpha01 to 1.1.0-beta01 we've had issues with android 9. Views, that are siblings to a viewpager2 view in a constraintview, that are constrained to the bottom with navigation bar inset padding at the bottom, ends up behind the navigation bar instead of above it. Not a problem in newer versions of android.

I suspect that this might be the issue:
https://android-review.googlesource.com/c/platform/frameworks/support/+/1254620/10