Control Overlay (lollipop)

Post your questions and help other users.

Moderator: Martin

Post Reply
TheUnknownBuffalo
Posts: 38
Joined: 09 Aug 2017 07:19

Control Overlay (lollipop)

Post by TheUnknownBuffalo » 20 Mar 2018 08:57

Hi all

I've got an app where the overlay displays all the different elements, apart from one (it's a graphical button in a corner) - why would that be?

Is there another way I can get the graphic to be recognised so I can get AM to automatically click it? I know the public xml ID if that's any use? I'm now running 1.34!

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Control Overlay (lollipop)

Post by Desmanto » 20 Mar 2018 17:02

I just realize we can't use Control UI on any floating button! Have been using Automagic for so long, I deal mostly with floating widget from Automagic, so don't know about the accessibility limitation. It seems accessibility can't deal with any floating overlay that doesn't run as foreground activity. I try with app task started/ended, touching the overlay from other app won't be detected as app task ended.

You better find other way to use the button from the app.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

TheUnknownBuffalo
Posts: 38
Joined: 09 Aug 2017 07:19

Re: Control Overlay (lollipop)

Post by TheUnknownBuffalo » 20 Mar 2018 20:42

Ahh, that might explain a few things then! :mrgreen:

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Control Overlay (lollipop)

Post by Desmanto » 21 Mar 2018 14:38

I suddenly inspired by the usage of this limitation. So far, I can't find any method to check if there is a floating overlay covering the view. You know there is, but you don't know where it is. Turning off the draw over other app permission is quite painful, as you need to turn on back for the app you need.

So using the Show Overlay control from Control UI, we can find some app view which have full layout. Automagic group flow view is one of them. Tap the Info button and see where the green line disappear. The overlay culprit is located at there. Sometimes there are transparant, so you have to see the color difference too.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

TheUnknownBuffalo
Posts: 38
Joined: 09 Aug 2017 07:19

Re: Control Overlay (lollipop)

Post by TheUnknownBuffalo » 22 Mar 2018 21:30

I'll give it a try and see what I can get it showing, there are quite a few apps that have floating screens, so I wonder how the android system deals with the tapping of the screen

Post Reply