Android Question Button or EditText still clickable under a solid panel

Mike1970

Well-Known Member
Licensed User
Hi everyone.
I have big problem, i have two edittexts and a button, then i have i white (#FFFFFF) panel on top of those.
The problem is that it's possible to click the button or the edittext anyway, even if there is the panel hiding them (with alpha 255).
 

Sagenut

Well-Known Member
Licensed User
Did you created the sub to intercept the touch on the panel?
B4X:
Sub YourPanelEvent_Touch (Action As Int, X As Float, Y As Float) As Boolean
    Return True
End Sub
Change YourPanelEvent with the Event Name that You used in the Panel.Initialize
 

Mike1970

Well-Known Member
Licensed User
Did you created the sub to intercept the touch on the panel?
B4X:
Sub YourPanelEvent_Touch (Action As Int, X As Float, Y As Float) As Boolean
    Return True
End Sub
Change YourPanelEvent with the Event Name that You used in the Panel.Initialize
In this way the touch will be ingored?
 
Top