Bug P3
Status Update
Comments
al...@android.com <al...@android.com>
sn...@gmail.com <sn...@gmail.com> #2
The issue is still present with support 24.2.1
sn...@gmail.com <sn...@gmail.com> #3
The issue is still present with support 25.2.0
Description
Version used: 23.0.1
Theme used: AppCompat
Devices/Android versions reproduced on: all devices on which I tried (Nexus 5, Nexus 6, Nexus 9, Nexus 10, LG G3, Acer s57. Samsung Galaxy s3, Samsung Galaxy s5 with apis: 23(emulator), 22, 21, 19, 16)
Issue:
I'm using TabLayout (2 tabs) with PagerAdapter that returns in getPageWidth() a value less than 1f (in my case 0.8f).
When I tap on tabs everything works well but, when I swipe from first tab to second tab, the tab indicator goes in a wrong position.
To set TabLayout to ViewPager I'm setting the PagerAdapter to ViewPager's adapter and TabLayout.setupWithViewPager() to set the ViewPager to TabLayout.
I attach a screenshot from Nexus 5 in landscape.