Android: Highlight menu item in draw over other apps settings
Asked Answered
S

0

7

Starting from Android 11, using Settings.ACTION_MANAGE_OVERLAY_PERMISSION will ignore the package name, and instead will show a list of all apps that can have this permission. So you have to navigate and find your app to enable/disable the permission.

There is a way to highlight the specific app you want in the list instead of having to search for it through all the apps. Like this.

Following something similar to this: Highlighting a menu item in system settings I want to make the same but for the "Draw over other apps" setting. (Settings.ACTION_MANAGE_OVERLAY_PERMISSION)

According to this answer, there are undocumented features of Android that can be used.

I want to know if something similar to what I am trying to achieve is possible and how? Thanks in advance!

Stiver answered 9/12, 2020 at 11:18 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.