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)
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)