From 1bdd2dfa4440ccd36a245bcdae3f226cd1ee99c6 Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Tue, 17 May 2016 15:49:26 +0300 Subject: [PATCH] zIndex fixed for Android buttons --- ui/core/view.android.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/core/view.android.ts b/ui/core/view.android.ts index d46bbb069..a2cafceb9 100644 --- a/ui/core/view.android.ts +++ b/ui/core/view.android.ts @@ -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); + } } }