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.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice