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

Clear the app data programmatically in android

Speed up gradle build in Android Studio.

Proguard usage in Android