Deprecated: How to make an EditText non-editable, using editable
android:editable deprecated in API Level 3, added in API Level 1
No matching Method.
No matching Method.
1. Add a EditText.
2. In the main.xml file, add the below line
<EditText
....
android:editable = "false"
/>
3. Compile and run!
Related Articles
- Make an EditText non-editable, using enabled
- Bug: Make an EditText non-editable, using inputType="none"
http://developer.android.com/reference/android/widget/TextView.html#attr_android:editable
http://developer.android.com/reference/android/R.attr.html#editable