1

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

Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841

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
  • 320,139
  • 94
  • 887
  • 841