Android - How can I locate the tab indicator between the two tab TextViews?

前端 未结 1 1666
执念已碎
执念已碎 2021-01-05 00:43

As far as I know, there are components ViewPager and ActionBar can support \"tab navigation\" mode but they don\'t have intermediate tab indicator

相关标签:
1条回答
  • 2021-01-05 01:10

    You can achieve this by implementing android:actionBarTabStyle using ActionBarSherlock library.

    Update:

    I don't have idea exactly about this, but hope you know Android team has integrated the same pattern in I/O 2013 Android app and it will open sourced soon.

    Update 2:

    I just came across one library which can fulfill your requirement, check this: https://github.com/astuetz/PagerSlidingTabStrip

    0 讨论(0)
提交回复
热议问题