zIndex fixed for Android buttons

This commit is contained in:
Vladimir Enchev
2016-05-17 15:49:26 +03:00
parent ddf4ed2f7f
commit 1bdd2dfa44

View File

@ -706,6 +706,10 @@ export class ViewStyler implements style.Styler {
private static setZIndexProperty(view: View, newValue: any) { private static setZIndexProperty(view: View, newValue: any) {
if (view.android.setZ) { if (view.android.setZ) {
view.android.setZ(newValue); view.android.setZ(newValue);
if(view.android instanceof android.widget.Button){
view.android.setStateListAnimator(null);
}
} }
} }