Android Question l_EditText.SingleLine = True and SetOnKeyListener

Discussion in 'Android Questions' started by b4auser1, Jul 18, 2015.

  1. b4auser1

    b4auser1 Well-Known Member Licensed User

    Is it possible to handle EnterPressed event with SetOnKeyListener if l_EditText.SingleLine = True ?
    I mean something like: If KeyCode = KEYCODE_ENTER then ... ?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The standard EnterPressed event should work.
     
Loading...