fix(tabstrip-android):fix selection highlight not visible (#7605)

This commit is contained in:
Alexander Djenkov
2019-07-31 11:34:43 +03:00
committed by GitHub
parent 7228f9e008
commit 201db5c154

View File

@@ -170,7 +170,9 @@ class TabStrip extends LinearLayout {
}
@Override
protected void onDraw(Canvas canvas) {
protected void dispatchDraw(Canvas canvas) {
super.dispatchDraw(canvas);
final int height = getHeight();
final int childCount = getChildCount();
final TabLayout.TabColorizer tabColorizer = mCustomTabColorizer != null