1

I am using the InputTextLayout in xml design. I want to change the stroke color. How can i achieve this?

Gabriele Mariotti
  • 250,295
  • 77
  • 670
  • 690

1 Answers1

0

Use the app:boxStrokeColor attribute

<com.google.android.material.textfield.TextInputLayout
      app:boxStrokeColor="@color/...."
      ...>

You can use a color or a selector.

Gabriele Mariotti
  • 250,295
  • 77
  • 670
  • 690