Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used: tried both 1.1.0-beta01 and 1.0.0
Devices/Android versions reproduced on: emulator version Pixel 3XL API 29
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
When viewpager2 is linked to a tablayout to tab through fragments, it retains whatever display size it used for the first tabbed fragment for subsequent tabs. If navigating away from the fragment that contains the viewpager and then returning to larger tab, it then displays larger tab correctly. IE. Whenever viewpager view is created it seems to retain the view size it had to start regardless of the size of subsequent fragments.
See StackOverflow at