Android EditText, soft keyboard show/hide event? -


Is it possible to capture the event that the soft keyboard was shown or hidden for the editing text?

As far as my content footprint is a linear line, (maybe anyone can be)

other views or view groups), I overridden the Major method in Lilke:

  @ Override protected zero measurement (Int width mousspec, int light mirrorsSPEC) {last fully proposed header = measurement SPS. Gatesize (heightMARSAPC); Final interval realhyeat = meet (); If (realhit & gt; proposedite) {// keyboard shown} and {// keyboard is hidden} super.onMearasure (widthMeasureSpec, heightMeasureSpec); }  

This operation helps me hide some controls when showing the keyboard and otherwise brings it back.

Hope this will be useful.


Comments