Custom TextInputLayout android

Viewed 24481

I am trying to create custom TextInputLayout. How can I create below custom TextInputLayout? enter image description here

2 Answers

You should use Material Design style for Outline Box. Just simple use:

style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"

in TextInputLayout. See Text Field for Android in Material Design Guide

enter image description here

Related