I'm working on a kiosk app that will use a single activity and mostly fragments with composables, and I have a requirement to build in a "admin" alert dialog that shows up any time you click 5 times in a single spot of the app. I see two ways forward. 1: Try to write this on the activity level (I tried onTouchEvent but it seems like it doesn't get triggered because I have FragmentContainerView and that seems to get the events) 2. Write a composable theme that can intercept all touch events, but still let events pass through.
Has anyone had experience with trying to have this kind of global x user tap listener? I know a lot of people have created debug menus, etc.