mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(tabstrip-android):fix selection highlight not visible (#7605)
This commit is contained in:
committed by
GitHub
parent
7228f9e008
commit
201db5c154
@@ -170,7 +170,9 @@ class TabStrip extends LinearLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDraw(Canvas canvas) {
|
protected void dispatchDraw(Canvas canvas) {
|
||||||
|
super.dispatchDraw(canvas);
|
||||||
|
|
||||||
final int height = getHeight();
|
final int height = getHeight();
|
||||||
final int childCount = getChildCount();
|
final int childCount = getChildCount();
|
||||||
final TabLayout.TabColorizer tabColorizer = mCustomTabColorizer != null
|
final TabLayout.TabColorizer tabColorizer = mCustomTabColorizer != null
|
||||||
|
|||||||
Reference in New Issue
Block a user