Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

edittext not editable

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

 android:inputType="none"
 android:enabled="false"
Comment

make edittext not editable android

EditText mEdit = (EditText) findViewById(R.id.yourid);
mEdit.setEnabled(false);
Comment

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" />
Comment

PREVIOUS NEXT
Code Example
Java :: camera permission in android 
Java :: simple function java 
Java :: java convert float to double 
Java :: how to take float input in java 
Java :: getcolor deprecated android 
Java :: java create new object 
Java :: insert string in string java 
Java :: java stream loop 
Java :: is a and has a relationship in java 
Java :: java reverse string 
Java :: I/flutter (10109): {filePath: null, errorMessage: java.io.FileNotFoundException: open failed: EACCES (Permission denied), isSuccess: false} 
Java :: java display message 
Java :: java hashcode 
Java :: java toggle button get state 
Java :: define an array of size n in java 
Java :: how to remove all characters before a certain character from a string in java 
Java :: 2d array java 
Java :: char to ascii java 
Java :: how to get internet speed in android programmatically 
Java :: Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.5.0:repackage failed: 
Java :: map in java 
Java :: jmeter get var 
Java :: Powermockito static method call 
Java :: comment générer un nombre aléatoire en java 
Java :: java ignore catch 
Java :: Java print() and println() 
Java :: tableau de chaîne de caractère en java 
Java :: java boucle for 
Java :: latest android version 
Java :: how to output in java 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =