Watch for any content change of the four EditTexts, with addTextChangedListener(). Don't update your fields if the current value in the field seems invalid (empty, non-numeric, etc.).
Note the user can hit the "Next" action on most soft keyboards or tap each field to move from EditText to EditText. There may be a lot of times the user is hoping to see the updates you calculate before they hide or stow their keyboard. On Jan 18, 1:22 pm, Ankur Avlani <ankuravl...@gmail.com> wrote: > Hi All, > > I have been trying to get some event that would let me know, that the > Keyboard was just hidden. I tried onConfigurationChanged and onKeyDown. > But none of these help me. > > I have 4 EditText in my Activity. On keyboard hide, i need to calculate > based on the number(s) provided on the EditText. > > Any help is appreciated. > > Thanks, > Ankur. -- 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