Answers for "android make edittext not editable"

1

edittext not editable

I guess I am late but use following together to make it work:

 android:inputType="none"
 android:enabled="false"
Posted by: Guest on March-11-2021
0

how to make edittext not editable in android studio

<EditText android:id="@+id/outputResult"
          android:inputType="text"
          android:editable="false"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:text="@string/result" />
Posted by: Guest on February-28-2021
0

make edittext not editable android

EditText mEdit = (EditText) findViewById(R.id.yourid);
mEdit.setEnabled(false);
Posted by: Guest on June-01-2021

Code answers related to "android make edittext not editable"

Browse Popular Code Answers by Language