editText.setFocusable(false);
editText.setClickable(false);
this ensure the EditText
control can’t be selected and focused, so it can’t be edited.
More Related Contents:
- I cannot change the inputType, hint anything for my EditText
- Last character taken twice by textwatcher
- How to stop EditText from gaining focus at Activity startup in Android
- Focusable EditText inside ListView
- Android – Handle “Enter” in an EditText
- How to show soft-keyboard when edittext is focused
- Put constant text inside EditText which should be non-editable – Android
- Outlined Edit Text from Material Design
- How do I handle ImeOptions’ done button click?
- Disabling of EditText in Android
- How to create EditText with cross(x) button at end of it?
- android EditText – finished typing event
- Set Focus on EditText
- In Android EditText, how to force writing uppercase?
- Custom cut/copy action bar for EditText that shows text selection handles
- Change EditText hint color when using TextInputLayout
- How to change color / appearance of EditText select handle / anchor?
- Implementing Text Watcher for EditText
- How to change style of a default EditText
- Disable soft-keyboard from EditText but still allow copy/paste?
- EditText loses content on scroll in ListView?
- Scrolling EditText inside ScrollView
- Implementing a rich text editor in Android?
- Allow multi-line in EditText view in Android?
- How to clear an EditText on click?
- How to exclude special characters from android keypad for EditText
- How to change color of EditText handles?
- Android EditText on longPress: ArrayIndexOutOfBoundsException: length=15; index=491
- Android, how do I stop a pointer appearing below an EditText
- EditText request focus