Highlight text on EditText

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

Just add one line in XML,


to highlight the text.


Clear Highlight text.
Change the new text.


Popular posts from this blog

Clear the app data programmatically in android

convert an integer to a string in java

Print the large string values in android log cat.