mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
zIndex fixed for Android buttons
This commit is contained in:
@ -706,6 +706,10 @@ export class ViewStyler implements style.Styler {
|
||||
private static setZIndexProperty(view: View, newValue: any) {
|
||||
if (view.android.setZ) {
|
||||
view.android.setZ(newValue);
|
||||
|
||||
if(view.android instanceof android.widget.Button){
|
||||
view.android.setStateListAnimator(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user