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

Flutter Bloc - Clean Architecture

What's new in android 14?

Dependencies vs Dev Dependencies in Flutter