Highlight text on EditText

If somebodies want to click to highlight the text in edittext,

Just add one line in XML,

android:selectAllOnFocus="true"

to highlight the text.

Uses:

Clear Highlight text.
Change the new text.

Comments

Popular posts from this blog

Proguard usage in Android

Speed up gradle build in Android Studio.

Clear the app data programmatically in android