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

后端 未结 17 1278
猫巷女王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:57

    You can simply use this method on your tablayout to hide the tab indicator.

    tabLayout.setSelectedTabIndicatorColor(Color.TRANSPARENT);
    

提交回复
热议问题