Wish Elevation property

LucaMs

Expert
Licensed User
It would be useful if all views had the Elevation property.

Currently I have to use this routine:
B4X:
Public Sub SetElevation(v As View, e As Float)
   Dim jo As JavaObject
   Dim p As Phone
   If p.SdkVersion >= 21 Then
       jo = v
       jo.RunMethod("setElevation", Array As Object(e))
   End If
End Sub
 
Top