Android Question Detect screen touch/ tap

RJB

Active Member
Licensed User
Longtime User
In Pages I want to partially dim the screen (Dim PH As Phone / PH.SetScreenBrightness) then later brighten it (PH.SetScreenBrightness(1)) when the user touches/ taps the screen, whatever page is being shown and wherever they touch/ tap.
Possibly I'm missing something obvious but is there a way to do that?
Thanks
 

RJB

Active Member
Licensed User
Longtime User
Thank you, just need to remove the 93 calls to 'CallSub(B4XPages.MainPage, "Bright_Screen")' now !!!!
 
Upvote 0
Top