0

I try to highlight tab of the TabLayout programmatically with this code: tabLayout.getTabAt(1).getCustomView().setBackgroundColor(Color.parseColor("#f44336")) But it isn't working, I don't why...

I will be so grateful for your help)

mshel
  • 29
  • 1
  • 5
  • Possible duplicate of [TabLayout tab selection](https://stackoverflow.com/questions/30796710/tablayout-tab-selection) – spentag Feb 08 '19 at 02:14
  • I marked this is a duplicate- I think the answer should help, let me know if it doesn't meet your needs! – spentag Feb 08 '19 at 02:15

0 Answers0