Detect virtual keyboard or access onsizechanged of layout

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Detect virtual keyboard or access onsizechanged of layout

Postby phildo77 » Wed Aug 12, 2009 3:51 am

I've got an activity that I want to execute code (that makes an
imageview visible or invisible) when the soft keyboard pops up or
becomes hidden. I think that I can do this in the onsizechanged method
of the activities root layout view because it changes size to
accommodate the virtual keyboard. How do I access this method to
override it in my activity?
Another way I could go about this is to detect when the soft keyboard
is shown or hidden. I haven't been able to find any methods that are
accessible that fire when this event occurs.
Thanks!
I don't sign.
phildo77
Freshman
Freshman
 
Posts: 3
Joined: Wed Aug 12, 2009 3:46 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests