Sweet. That was easy, thank you. On Feb 24, 11:35 am, schwiz <[email protected]> wrote: > have your activity implement onEditorActionListener then handle it in > the methodonEditorAction. > > On Feb 24, 11:25 am, Mark Nuetzmann <[email protected]> wrote: > > > > > So if you set android:imeOptions="actionSearch" how do I intercept the > > result of the clicking the action/search button on the virtual > > keypad? How do I assign that result to a button in the layout of my > > activity or in some way handle the click of this key? > > > My specific situation is I am in the Search activity as the result of > > an in-app search. In the activity I have an EditText at the top that > > shows what is being searched for. In the layout xml I set the > > imeOptions of this EditText to actionSearch... I do not seem to be > > getting anything to happen when the user touches the aciotn key other > > than focus moving to the next focusable control (not what I want).
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

