Android Tab Layout not taking up full width with custom view

前端 未结 8 2457
谎友^
谎友^ 2021-02-15 17:03

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.

8条回答
  •  悲&欢浪女
    2021-02-15 18:02

    There are attributes in TabLayout : app:tabPaddingStart and app:tabPaddingEnd

    You can set -1 to both of them in order to remove padding start and end in custom view of TabLayout.

    
    

提交回复
热议问题