Sometimes user has to enter a pin, I use a panel for this, and eveyrthing is fine, BUT user can still perform actions from appCompat bar, for e.g. clicking menu items and so on. I tried
B4X:
acToolbar.enabled=false
, but actions could still be performed.
I know I can create custom items and deal with their events, but it would be much straight forward if I could simply disable the whole bar.
Any ideas?
As a workaround, I added a customLayoutDialog and initiated its dialog.close when auth is finished. Works ok, I'm still curious though on how to disable the toolbar.
I forgot to mention that earlier I've tried that (WITHOUT elevation) and unfortunately there was a button showing up even if my panel was bring to front. I guess the elevation can solve this problem. Thank you Erel!