I'm making an app in which I there is an EditText
and a ToggleButton
. I want to create a highlighter mechanism with the help of these. For example, when the state of the ToggleButton
is ON, the text that'll be entered in the EditText
will have Green background as if it is being highlighted. Again, when the ToggleButton
state will be changed to OFF, the text in the EditText
will also stop getting highlighted immediately.
Please Help Me.
Thanks in Advance!!