561 questions
0 votes
0 answers
77 views
View in WindowManager Flickers on Animated Height Change with `WRAP_CONTENT`
I am trying to create a system overlay using WindowManager. This overlay contains a ComposeView which, in turn, hosts a Composable that animates its height. My WindowManager.LayoutParams for the view'...
0 votes
0 answers
63 views
ViewCompat.setOnApplyWindowInsetsListener not working in andorid < API 30 devices
I wanted to observe window inset for navigation bar and ime. used below snippet. in android API 30, listener is triggered when keyboard is opened or closed. the same code not working in API level 29. ...
0 votes
0 answers
77 views
How to detect if another app is floating above mine (e.g., overlay/chathead) on Android 11+?
I'm trying to detect if another app (like a Messenger chat head or similar overlay) is currently floating above my app on Android 11 or higher. I’ve tried the following approaches, but none reliably ...
0 votes
0 answers
54 views
The AccessibilityService.onServiceConnected method is not executed after I enable the accessibility service
When I turn on the Accessibility Service, what I expected is the method “SVR.onAccessibilityConnected” would immediately invoke and then the app would play music loudly and show a window cover the ...
0 votes
1 answer
191 views
Copy-Paste Context Menu Not Displaying on Long Press for Entry Added to Window at Runtime on Android in .NET MAUI
When long-pressing an Entry on Android, the copy/paste context menu should appear by default. It works when the Entry is placed directly on the page. However, if the Entry is added to the window on a ...
-1 votes
2 answers
883 views
Execution failed for task ':flutter_windowmanager:verifyReleaseResources'
in my flutter app, i run it without any problem, but when building APK i get the following problem FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':...
0 votes
0 answers
25 views
dialog/transparent activity trans touch event to other window?
I want to create a dialog that contains a layout inside. This layout should be scrollable up and down. When the dialog is scrolled up to only show a drag handle, I want the dialog to pass all click ...
0 votes
1 answer
257 views
How do you display dark mode webpages in a floating webview in Android
I have an android app where I want to display a webpage in dark mode, overlaid on top of other apps (using android draw over apps facility). I'm using a webview and windowmanager to create the ...
1 vote
1 answer
987 views
Unable to add window ... -- permission denied for window type 2038
I'm trying to add a window in my android app but I'm facing with this issue. I just started android development so I'm not sure what should I need to do. I did research but couldn't find the solution ...
0 votes
1 answer
50 views
Dialog is not displaying when pressed home to onResume state android 10-Hander issue
I have a button to display the Dialog. When I click the Dialog button in the sample application, immediately after a few seconds, pressing the home button. Open another application, press the home ...
1 vote
0 answers
77 views
Setting Android overlay position results in unwanted animations to old position, when later changing size
When creating an overlay from a TextView and moving it using updateViewLayout with changed WindowManager.LayoutParams the overlay unexpectedly moves after changing the size of the TextView (e.g. by ...
0 votes
0 answers
314 views
Can I use react-native with window manager?
I know react-native can be used with fragment manager as in https://reactnative.dev/docs/integration-with-android-fragment How do I use the component in window manager though? Actually my main aim is ...
1 vote
0 answers
300 views
Allow touch events to pass through an overlaying Image in Android 12
In my project, when the service class gets called, it overlays an Image on top of the mobile screen. Foreground service is used to continuously keep the image on top of the mobile screen even when my ...
2 votes
1 answer
359 views
How to correctly create a draggable floating view?
I use the following code to drag a view around the screen, and it works. But, when the user first touches moveIcon, the floatingView suddenly moves to the center of the screen, even though I want it ...
1 vote
1 answer
474 views
System-wide screen overlay a draggable UI element in Compose
My goal is to have a small UI element (24dp bubble) that is draggable and is shown over the system screens and other apps. Yes, like XRecorder bubbles. I have successfully set up a ComposeView and ...