Custom widget not "clickable".....
Posted: 21 Dec 2016 16:27
I have a flow that, when enabled, checks for a specific WiFi SSID every 15 seconds or so, and stops when connected. I've set it up so that every 15 seconds, it uses the action "Notification on Screen" to display a large on-screen notification (preferable to a status bar icon, because it's much easier to see at a glance, when driving). The on-screen notification is a custom widget - basically, a large box that says "Checking for {SSID}".
It works well. However, sometimes I want to stop the flow manually. Obviously, I know ways to do that, but the simplest seemed to me to be to make the custom widget clickable, so that, when the widget is displayed on-screen, I can tap ('click') it to stop the flow.
Problem is, the widget doesn't respond to a tap. Rather, whatever is BELOW the widget responds. I realize that this may be an OS limitation - perhaps on-screen notifications are "transparent" to touch events - but I wanted to post here so see if anyone knows of a way to make it work.
It works well. However, sometimes I want to stop the flow manually. Obviously, I know ways to do that, but the simplest seemed to me to be to make the custom widget clickable, so that, when the widget is displayed on-screen, I can tap ('click') it to stop the flow.
Problem is, the widget doesn't respond to a tap. Rather, whatever is BELOW the widget responds. I realize that this may be an OS limitation - perhaps on-screen notifications are "transparent" to touch events - but I wanted to post here so see if anyone knows of a way to make it work.