Reputation: 1265
How do you code these new material design text fields in android?
EditText doesn't look like that, right?
https://material.io/design/components/text-fields.html#anatomy
Thank you for your help!
Upvotes: 0
Views: 180
Reputation: 1826
For such design you can try using the androidX set of libraries. Simultaneously with package changes, they rolled out a set of new widgets, styles and so on. So in your case you should have used an EditText from the androidX library and a style="@style/Widget.MaterialComponents.TextInputLayout.FilledBox
style
Upvotes: 1