I have a TabLayout with id=tabLayout . It has two tabs that scroll pages in ViewPager 'e. Pages are added programmatically using fragments. How can I make the active tab have a bar at the bottom when opening a certain page?
|
I have a TabLayout with id=tabLayout . It has two tabs that scroll pages in ViewPager 'e. Pages are added programmatically using fragments. How can I make the active tab have a bar at the bottom when opening a certain page?
Source: https://ru.stackoverflow.com/questions/562853/
All Articles