How to customize tabstrip of tablayout especially if we want fixed and user defined width of tabstrip irrespective to tab? Particular, we want tabstrip to the bottom center of each tab but it should not has width more than that tab, neither it should have width the same of that tab but, the tabstrip must have small width than that of tab and if possible, user should be able to define or customize the width of tabstrip. Is there any way by which we can customize tabstrip at once and use it for our all tablayout?
Asked
Active
Viewed 320 times
0
-
You can only use `PagerTabStrip` or `TabLayout`. – KeLiuyue Aug 16 '17 at 09:07
-
@KeLiuyue Thank you for comment, but how is it possible with tablayout? – Sagar Patel Aug 16 '17 at 09:09
-
You can have a try.We also used `ViewPager and PagerTabStrip` or `ViewPager and TabLayout`. – KeLiuyue Aug 16 '17 at 09:13
-
Ok, thanks for your time. I will try with PagerTabStrip! – Sagar Patel Aug 16 '17 at 09:16
-
Ok.If you have problems,you can ask me. – KeLiuyue Aug 16 '17 at 09:19
-
https://github.com/ogaclejapan/SmartTabLayout Working! – Sagar Patel Aug 16 '17 at 10:53
1 Answers
0
https://github.com/ogaclejapan/SmartTabLayout
For those who has same kind of requirements!

Sagar Patel
- 506
- 1
- 8
- 23