android-windowmanager Questions
1
The documentation for WindowManager.removeViewImmediate() contains a warning (emphasis mine):
Special variation of ViewManager.removeView(View) that immediately invokes the given view hierarchy'...
Mo asked 9/10, 2018 at 18:0
3
I have a float icon that stays on top of all activities, but when the device get locked it disappear until the device get unlocked.
Another meaning, I want to display a view (FloatIcon) on lock sc...
Spicy asked 11/8, 2013 at 10:25
1
Solved
Wait, it is not a duplicate
A similar question has been asked here, but not addressing dark-text status bar.
What I want to do
I want to achieve 3 things at the same time:
Transparent status ...
Planchet asked 15/3, 2018 at 10:3
2
Solved
Can someone please explain below in detail,
1- What is the use of ActivityManager & WindowManager?
2- What is the difference between ActivityManager & WindowManager?
Trow asked 11/2, 2012 at 5:29
5
I've tried the advice here, the advice here, the advice here, I've commented out the onAttachedToWindow() in my Base Activity. I have two Activities inheriting from this class, BaseActivity. One ru...
Misstate asked 26/6, 2015 at 20:52
1
Solved
I want to manipulate the status bar (ex.color) but in the background. I am using a foreground service to do this. Thus there is no window as it is happening in the background, specifically there is...
Hiett asked 25/1, 2018 at 15:24
3
Solved
In android oreo, I can't use WindowManager.LayoutParams.TYPE_SYSTEM_ERROR anymore and must use WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY instead. The drawback is, that this mode does not ...
Stocktonontees asked 1/9, 2017 at 7:33
3
Solved
I tried googling it and there is no direct and/or clear cut answer.
The developer website's definition is not clear either:
The interface that apps use to talk to the window manager. Use
Conte...
Cartload asked 7/11, 2013 at 20:56
5
Solved
I have a Snackbar which is as follows:
However, if the drop down of the AutoCompleteTextView is too long, the drop down will block the Snackbar.
As you can see in the above image, the Snackba...
Rossy asked 31/5, 2017 at 19:40
3
Solved
I've add a View, by using WindowManager.
It shows properly what I wanted to do,
but I have a problem.
this is the problem.
back key press doesn't affect under android component(like activity)
...
Macgregor asked 17/10, 2012 at 5:30
4
NOTE
If someone know how to order (z-order) Windows added via windowmanager, i will also accept the answer because it's will answer all the question. Actually i only find to do windowManager.remov...
Containment asked 18/9, 2016 at 18:23
3
i add a view in the windowManager via mWindowManager.addview(). Now i would like to know if it's possible to get the window instance. their is myView.getWindowID() and myView.getWindowToken() but i...
Chetnik asked 30/5, 2017 at 7:43
0
Is it possible to specify the z-order of each window ? in the image below each editText are in their own window added via WindowManager. as you can see i have a z-order problem
like you see on ...
Affettuoso asked 28/5, 2017 at 20:13
0
I'm working on an SDK that is putting a popup view on the WindowManager using the TYPE_TOAST LayoutParams type. The last version of Android Nougat (7.1.1) made some change to the WindowManager (I d...
Projective asked 28/5, 2017 at 12:6
1
I have a FLAG_SECURE set for an activity (it contains sensitive data), but in one particular Fragment I need to clear it (because od Android Beam).
Window window = getActivity().getWindow();
windo...
Agace asked 31/3, 2015 at 13:46
1
Solved
I have a MainActivity with lots of Fragments and in one specific Fragment I want to draw behind system bar, so I'm applying at runtime the following flag :
if (Build.VERSION.SDK_INT >= Build....
Performance asked 23/3, 2017 at 12:23
1
I have been looking through several stackoverflow question to find out how can I listen to backpress button on a service using windows manager. Most of the answers proposes that it's not possible, ...
Lunna asked 15/3, 2017 at 22:2
16
Solved
I'm trying to open a dialog window, but every time I try to open it it throws this exception:
Uncaught handler: thread main exiting due to uncaught exception
android.view.WindowManager$BadTokenExc...
Intersidereal asked 14/4, 2010 at 4:55
1
Solved
I want to use the call videoView.isAttachedToWindow() within my fragment to verify if videoview is initialized fine and is ready to be called.
But this call requires api level 19 (current min is ...
Hirohito asked 8/2, 2017 at 12:23
2
Solved
I'm having issues when trying to use immersive mode and using android:fitsSystemWindows="true" with DrawerLayout. I have to set this to true for the DrawerLayout and toolbar to be constrained to th...
Fogel asked 25/3, 2016 at 19:44
0
I have a floating window that has a flag FLAG_SECURE. It is successfully hidden from screencaptures and a MediaProjection that I have set up. It is shown as black rectangular object when I record t...
Wrinkle asked 23/8, 2016 at 8:54
2
Solved
I do not understand about WindowInsets rects, because docs says that:
The system window inset represents the area of a full-screen window that is partially or fully obscured by the status bar, n...
Derickderide asked 2/8, 2016 at 17:48
1
Sorry for the long title. I would basically like to add a SurfaceView as a window that appears above all windows but not above the notification bar (even when dragged down). The code I currently ha...
Rehearing asked 24/5, 2016 at 16:56
3
Solved
I am developing app for background videorecording ,thats why i used WindowManager,but it did not worked for me.gives following errors:
08-23 15:38:21.021: E/AndroidRuntime(4200): java.lang.Runtim...
Luckey asked 23/8, 2013 at 10:28
2
As title says, I'd like to have two windows inside Android studio to see log for 2 devices running at the same time, how to achieve this? At the moment i have to switch devices all the time, but it...
Politesse asked 5/1, 2015 at 8:20
© 2022 - 2024 — McMap. All rights reserved.