Deprecated: android:editable - Make an EditText non-editable, using editable

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. 
      
Recommend using this instead: Make an EditText non-editable, using enabled

1. Add a EditText.

2. In the main.xml file, add the below line

  <EditText
    ....
      android:editable = "false" 
  />
 
3. Compile and run!

Related Articles
Resources:
http://developer.android.com/reference/android/widget/TextView.html#attr_android:editable
http://developer.android.com/reference/android/R.attr.html#editable