10000 fix(tabstrip-android):fix selection highlight not visible (#7605) · NativeScript/NativeScript@201db5c · GitHub
[go: up one dir, main page]

Skip to content

Commit 201db5c

Browse files
authored
fix(tabstrip-android):fix selection highlight not visible (#7605)
1 parent 7228f9e commit 201db5c

File tree

1 file changed

+3
-1
lines changed
  • tns-core-modules-widgets/android/widgets/src/main/java/org/nativescript/widgets

1 file changed

+3
-1
lines changed

tns-core-modules-widgets/android/widgets/src/main/java/org/nativescript/widgets/TabStrip.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ void setSelectedPosition(int position) {
170170
}
171171

172172
@Override
173-
protected void onDraw(Canvas canvas) {
173+
protected void dispatchDraw(Canvas canvas) {
174+
super.dispatchDraw(canvas);
175+
174176
final int height = getHeight();
175177
final int childCount = getChildCount();
176178
final TabLayout.TabColorizer tabColorizer = mCustomTabColorizer != null

0 commit comments

Comments
 (0)
0