Wish Elevation property

Discussion in 'Bugs & wishlist' started by LucaMs, Apr 30, 2019.

  1. LucaMs

    LucaMs Expert Licensed User

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

    Currently I have to use this routine:
    Code:
    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
     
    Jorge M A and Dave O like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice