There would be no purpose in showing an animation when your size doesn't
change, because what is happening is the IME is opening in full-screen mode
and completely covering your app.

On Tue, Nov 30, 2010 at 6:41 AM, Juhani <pleafh...@gmail.com> wrote:

> Hi all!
>
> We're trying to trigger an animation whenever the on screen keyboard
> is shown or closed. There doesn't seem to be any options to register
> listeners directly to that event either in the EditText or in the
> window / app in general. Only solution I managed to find was an older
> post here where solution was to listen to size changed events.
> From this thread:
>
> http://groups.google.com/group/android-developers/browse_thread/thread/9d1681a01f05e782
>
> Unfortunately, that solution doesn't work in landscape mode. For some
> reason the onSizeChanged doesn't get called in landscape mode.
>
> As the previous thread is already very old I was hoping that maybe in
> 2.0 or later versions there would be an API for that. What is the best
> way to get notifications when the OSK is opened / closed?
>
> Thanks!
>
>  Juhani
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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