I have a TabLayout in my app, and I want to insert a divider between tabs because the default look of a TabLayout has no divider in it. How can I do this?
Asked
Active
Viewed 3,599 times
4
-
you mean between tabs? – Fasiha Jul 15 '15 at 08:12
-
put borders on items.. form the divider you want... – Sheychan Jul 15 '15 at 08:16
-
yes, between the tabs @Fasiha check this out https://guides.codepath.com/android/Google-Play-Style-Tabs-using-TabLayout#design-support-library TabLayout is from the new design support library – Earwin delos Santos Jul 15 '15 at 08:57
-
did you find solution to add divider? – Mitesh Sharma Jul 28 '15 at 16:40
-
not yet @MiteshSharma – Earwin delos Santos Jul 29 '15 at 02:27
-
I am also searching forthe same. The TabLayout supposed to have all previous answers. Now, it does not even support divider, which is a basic need. – codebased Aug 21 '15 at 13:13
-
Answered in this question: https://stackoverflow.com/questions/32204184/how-to-set-the-divider-between-tabs-in-tablayout-of-design-support-library – gnuf Nov 03 '15 at 17:38