سؤال

I'd like to implement a navigation with two layers of tabs, similar to this one:

Double tab navigation

However I cannot find how to give scrollable tabs this appearance: centered title for the active tab, and the others pushed to the sides, without separator or underlining. I'm pretty sure I've seen this scrollable tabs style before, so I was wondering if it's just a setting or maybe a third party library.

Could anyone help me with this ?

Thank you.

هل كانت مفيدة؟

المحلول

Have a look at ViewPager's PagerTitleStrip. That's what you are looking for.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top