Best method is to use:
etUsername.setLongClickable(false);
More Related Contents:
- Handling click events on a drawable within an EditText
- EditText: Disable Paste/Replace menu pop-up on Text Selection Handler click event
- Get Cursor Position in Android in Edit Text?
- Android Keyboard hides EditText
- how to validate a URL / website name in EditText in Android?
- Android How to adjust layout in Full Screen Mode when softkeyboard is visible
- What’s the best way to limit text length of EditText in Android
- Setting onClickListener for the Drawable right of an EditText [duplicate]
- Contact Bubble EditText
- Clickable widgets in android
- How to detect the swipe left or Right in Android?
- Custom Fonts in Android
- How to get hosting Activity from a view?
- How do I show the number keyboard on an EditText in android?
- How can I set the focus (and display the keyboard) on my EditText programmatically
- How to save the image to SD card on button Click android [closed]
- Launching activity from widget
- How can I make my layout scroll both horizontally and vertically?
- How to play a video in a webview with android?
- Select all text inside EditText when it gets focus
- Android: Disable soft keyboard at all EditTexts
- Android Word-Wrap EditText text
- How do I detect the heap size usage of an android application
- How to disable spelling corrections programmatically in Android
- How to add views dynamically to a RelativeLayout already declared in the xml layout?
- Change word color in resource string
- How to change the border color(un-focused) of an EditText?
- android widget on click event
- Show keyboard for edittext when fragment starts
- How to Get EditText maxLength setting in code