How do I remove the selected tab indicator from the TabWidget?

后端 未结 17 1306
猫巷女王i
猫巷女王i 2020-12-09 02:19

Here\'s what I\'d like to remove :

\"enter

How do I replace the indicator show

17条回答
  •  悲&欢浪女
    2020-12-09 02:49

    Try setting the Tab indicator height to zero:

    tabLayout.setSelectedTabIndicatorHeight(0);
    

提交回复
热议问题