Hi, I have an activity with some drops, etc to draw a graph, the graph is drawn when the user clicks on a button.
When the graph appears the button stays over the graph, other views stays in the background but this button no.
Why?
please see pics.
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
Try passing to it 4 (e) or more (and your button, of course)
Probably the button is not placed directly on the Activity; use that SetElevation passing to it the "top level parent" of the button. OR INCREASE the "e" parameter, pass 10 to the routine.