Questions tagged [android-windowmanager]

The Android WindowManager is a system service, which is responsible for managing the z-ordered list of windows, which windows are visible, and how they are laid out on screen.

The Android WindowManager is a system service, which is responsible for managing the z-ordered list of windows, which windows are visible, and how they are laid out on screen.

Check the official WindowManager documentation for more details on the contract interface.

565 questions
-1
votes
1 answer

Create animation on homescreen when widget is clicked

What Clean Master app does is that it put a widget on home screen and when user tap it , it cleans RAM and show an animation like this on homescreen(on top of homescreen) - and i also want to do this .... What i have done till now is that i have…
-1
votes
1 answer

Remove custom-view when application is relaunched android

I am working on an android application where I use a custom view to my window. I have the following code to do it :- private void systemOverlayFullScreen() { WindowManager manager = ((WindowManager)…
-1
votes
1 answer

How do I create a floater that I can move all over the screen like the Facebook notification?

How do I create a floater that I can move all over the screen like the Facebook notification?
-1
votes
1 answer

In windowManager only the last added View can click or do other operators

My code: public void setAboveButton() { aboveButton = new TextView(mContext); ColorDrawable cd = new ColorDrawable(Color.GRAY); aboveButton.setBackground(cd); aboveButton.setText("<回游戏"); …
Jhon Smith
  • 181
  • 2
  • 12
-1
votes
2 answers

Zoom in zoom out transition between activities

I am using this window zoom transition in my app. It is a zoom in/out animation that will show when the user switches between two activities. But its not working on gingerbread. Please help me make it work on gingerbread. If not possible, please…
-2
votes
1 answer

java.lang.RuntimeException: view android.widget.TextView being added, but it already has a parent

I am using broadcastreceiver to display the values from SMS where i am using WindowManager to display it. But i am getting an Runtime exception which says it already has parent. WindowManager windowManager = (WindowManager)…
-4
votes
2 answers

Show a view on top of all activities

I have a service running in background and when some conditions are met I need to show a window at the top of the activity. I should be able to navigate between activities and that window should always stay static on top till the user dismiss…
Sol
  • 833
  • 1
  • 9
  • 17
-6
votes
1 answer

How to determine the lock screen is on the top of the other activity, or the other activity is on the top of the lock screen?

I encountered a problem, MyActivity is under the LockScreen, in this case, I need to launch MyActivity from framework by clicking volume button; MyActivity is on the top of Lockscreen, in this case, I do nothing. But I don't know how to…
-7
votes
1 answer

How to hide status bar in service class?

I need to use the following line in service class getWindow().getDecorView().setSystemUiVisibility(8); Please anyone help.
Pri M
  • 11
  • 1
  • 4
1 2 3
37
38