How can I change the color of underline in text box
Change the accent color !
Please mark this as solution
Accent color is used for highlights, notifiers, scrollbars and other user interface. So changing color to hide underline in textbox migh affect other things. The best solution to remove that line is to place texbox inside a cardview and set the background color of your textbox to that of your cardview in background