I want to change the green color of this label only with XML code. Is there any way?
Asked
Active
Viewed 51 times
0
-
Post your code pls – Gabriele Mariotti Apr 06 '21 at 13:44
-
try this [here](https://stackoverflow.com/questions/50219296/how-to-change-color-of-text-input-underline-and-text-when-clicked) cheers buddy Linus – Apr 06 '21 at 13:46
-
https://stackoverflow.com/questions/30546430/how-to-change-the-floating-label-color-of-textinputlayout/57811487#57811487 – Gabriele Mariotti Apr 06 '21 at 13:53
1 Answers
0
Use this 3 line of code in your TextInputEditText xml file.
app:boxStrokeColor="#008000"
app:hintTextColor="#008000"
android:textColorHint="#008000"

Bhavya Varmora
- 90
- 5