Hi all, thx for try for helping me... I solved them, but I didn't find a clean way to do it...
AddApplicationText(
<style name="MyTheme" parent="@android:style/Theme.Holo.Light">
<item name="android:windowEnableSplitTouch">false</item>
<item name="android:splitMotionEvents">false</item>
</style>
)
Idk why but this dont work for me.
B4X:
Private Sub btn1_Click
btn1.Enabled = False
pnl1.Visible = True
'(pnl2.Visible = False)
btn2.Enabled = True
End Sub
Private Sub btn2_Click
btn2.Enabled = False
pnl2.Visible = True
'(pnl1.Visible = False)
btn1.Enabled = True
End Sub
This is viable if i have a few buttons... but if had 40+ is quite imposible to maintenance that
Even thought that these conditions are pretty inusual.................
you are rigth, but if i put this app in the playstore i need to prevent this kind of issues.
This is my solution to the problem.
Maybe a bit strange, it could be done in a better way probably.
As already wrote it use the technique to cover every Button (or any other View that could be Clicked) with a Panel.
Check the code AND the Designer to understand it.
I am available for explanation in the next days if needed (probably not before monday afternoon).
Thx for the demo, I didn't know that panels could be used like that
With everyone's ideas I solved it in the following way:
Because in this project i dont use the longclick event in any lbl or btn, i put all longclicks event without code, only for catch the event
and in all the click events use this
Private Sub Button1_Click
If clicked = 1 Then Return
clicked = 1
'code here
clicked = 0
End Sub
It's a shame there isn't a more practical way to solve it. Or at least I haven't found it yet.
Thx guys