Sub setElevation (b As View ,f As Float)
Dim sdk As Phone
Dim jo As JavaObject = b
If sdk.SdkVersion > 20 Then
jo.RunMethod("setElevation",Array As Object(f))
jo.RunMethod("setStateListAnimator", Array(Null))
End If
End Sub
Sub setElevation (b As View ,f As Float)
Dim sdk As Phone
Dim jo As JavaObject = b
If sdk.SdkVersion > 20 Then
jo.RunMethod("setElevation",Array As Object(f))
jo.RunMethod("setStateListAnimator", Array(Null))
End If
End Sub
Maybe because i should to rewrite 20 pages of code
By the way, also because in some cases i need to see the animation of the button when someone clicks on it