Re: [android-developers] Over the top window considering soft input mode

2012-02-08 Thread Mark Murphy
On Wed, Feb 8, 2012 at 4:23 PM, Dianne Hackborn wrote: > I really regret ever letting these window types get into the original SDK. >  There are a lot of good reasons why they should be removed. I'm in agreement that these window types are scary things. I won't shed a tear if SYSTEM_ALERT_WINDOW

Re: [android-developers] Over the top window considering soft input mode

2012-02-08 Thread Dianne Hackborn
You can't do this. If your window is on top of the IME, then it is not resized for it -- the window manager starts at the top of the Z-order list and determines the space needed for each window and uses that to impact the windows behind it. There are tricks you can play to cause the IME to go in

[android-developers] Over the top window considering soft input mode

2012-02-08 Thread Doudou Rainbow
My project is to have an over the top button which enables to launch my activity from anywhere. For that purpose, I have a service that displays this button in a specific window. In the layout params of this window, I have the type "WindowManager.LayoutParams.TYPE_SYSTEM_ALERT" to be on top. I also