Hi,

I wanted a way to find out whether a softkeyboard is visible at any given time.

If I set the windowSoftInputMode property to adjustResize,  I receive
resize events in the portrait mode (onSizeChanged gets called). I use
these events to find out whether the softkeyboard is visible or not.
But I get no resize events in the landscape mode (Android SDK 2.0). Do
I need to set some property explicitly to get these events in the
landscape mode.

Also when the application switches between landscape and portrait, the
application gets resize events. So to find out whether the keyboard is
actually visible, I would need to differentiate between the 2 resize
events.

So in short, is there a cleaner way (other than resize events) to find
out whether the soft keyboard is visible?
And if resize is the only way, how can I turn it on for landscape mode?

Thanks a lot in advance for the help.
-aniket
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to