Fix tab highlight opacity on KitKat

This commit is contained in:
krlvm 2021-03-28 14:43:11 +03:00
parent e4f2c58933
commit f477ab84d5
No known key found for this signature in database
GPG key ID: B8552A91FD265536

View file

@ -87,6 +87,8 @@ public class MainFragment extends BaseFragment implements TabLayout.OnTabSelecte
binding.mainTabLayout.setupWithViewPager(binding.pager);
binding.mainTabLayout.addOnTabSelectedListener(this);
binding.mainTabLayout.setTabRippleColor(binding.mainTabLayout.getTabRippleColor()
.withAlpha(32));
setupTabs();
}