Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
Updated 22 April 2017
Many a times we just want that a event should trigger on click of a particular button(like Enter button, Search Button, Done button) from the default soft keyboard of android.
Implementing this is very easy.
All you need to do is search the id of the button on which you want to perform your particular action and simply follow the below steps :
And it is done, lets have a look at the code for the same , I am sharing the code for Done button of the Soft keyboard. You can change the same as per your need.
CODE :
NOTE : For seeing the id of other buttons, you can open the EditorInfo class of the package android.view.inputmethod or you can have a look at : https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.