I have many custom TextInputLayout with custom TextInputEditText views in the XML.
For some TextInputFields I need to give the below feature:
- When the field is in focus
- Soft keyboard should launch
- When the user presses the delete button for long approx (2 secs)
- It should clear the content in TextInputEditText
I tried --> Implementing onKeyPreIme(int keyCode, KeyEvent event) in Fragment
