Android TabLayout tabPaddingTop and tabPaddingBottom not being removed
Please refer to the above issue as well.
Even since i updated my design library to \"23.2.
I was stuck for hours until I found the method tab.setCustomView(idRes)
. Changing from inflated to this worked for me. Alernatively, if you are inflating you can use TabLayout.TabView
as root viewgroup.
Apart from this, I am not sure if it is helpful but I used minWidth
to the custom view layout.
This is what I wanted