Reconciling Status Bar Bug with IME (soft keyboard) interaction

by Paul Pucciarelli » Tue, 25 Jan 2011 02:53:17 GMT

Sponsored Links
 Some people have noticed if you have a fullscreen app,
which you leave and then resume, the status bar pushes your app window

Others have pointed out this can be fixed with:


This of course breaks the IME, in that it no longer slides the window
upward - so the soft keyboard hides the editText you are trying to
type in.

I have worked around this issue with

View.OnFocusChangeListener() {
                        public void onFocusChange(View v, boolean hasFocus) {
                                if (hasFocus) {
                                } else {

while leaving the initial setflags in onCreate as well.


Other Threads

1. Detecting sensor manager left and right shakes

Hi Guys,

My application requires to identify if the user has done a shake
towards the left or if he has done a shake towards the right.

How do i go about implementing this?

I have tried the sensor manager listener where in i am able to
identify a general shake event, but im not able to identify if its a
left or a right shake..


2. programatically detect foreground application/ screen?

Is there any way for a backfround task to programmatically detect or
recognize by learned id which application or screen (different
package) is showing?

I don't really want to resort to analizing a screenshot...

3. How to launch VideoCamera Activity and then read tge file created?

4. Location object bad results

5. problem animating view objects

6. how to pass an Object from one activity to another.

7. how to intergrate t-dmb mpeg2 ts player, ravy, could you point one way? (