Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EditText with TextInputlayout layout With hint and Border

enter image description here

I want EditText like one in above image. The problem is that if I use TextInputLayout it shows default bar at the bottom and I want it with custom borders around it.

I also tried using the below examples,

Custom TextInputLayout android

like image 416
Bhavin Jadav Avatar asked Nov 21 '17 10:11

Bhavin Jadav


1 Answers

Use the Material Design Outline Box style

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

See the design guide here

like image 124
Edwin Nyawoli Avatar answered Sep 25 '22 10:09

Edwin Nyawoli