how to change textview color upon entering something in edittext

Viewed 22

when the user has put something according to written on the enter image description heretext I want that text color to change like in this image

1 Answers

If this is a password checker then there is probably already a library for this. Otherwise, you could use addTextChangedListener() to listen for text changes in your EditText then call setTextColor() to change the of the EditText.

Related