I want to input a name through EditText
and then after inputting it should set itself as permanent so that there can't be anymore editing on the EditText
. Basically, convert it to TextView
and display the inputted name.
Asked
Active
Viewed 1,975 times
0

Ronak Thakkar
- 2,515
- 6
- 31
- 45

Aayush Kucheria
- 19
- 7
2 Answers
0
Simple make the editext non editable like this
yourEditText.setFocusable(false);
yourEditText.setFocusableInTouchMode(false);
yourEditText.setClickable(false);

Niza Siwale
- 2,390
- 1
- 18
- 20
0
Able to Edit
editText.setEnabled(true);
Unable to edit
editText.setEnabled(false);

vikrant arankalle
- 278
- 1
- 14