Is your feature request related to a problem? Please describe.
After migrate to com.google.android.material:material my TextInputLayout are fall in FilledBox style. Before that, my TextFields are like here.
.
My problems is I don't know how do i get that my original TextInputLayout style are back
Describe the solution you'd like
I guess, We could add another themes Legacy that kinds of things. Currently there are only 2 Theme for TextInputLayout -> FilledBox and OutlinedBox
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
It there a way we can get back the legacy Design?
You can get the old style back by setting boxBackgroundMode to none in your TextInputLayout style.
For example:
<style name="TextInputLayout.NoBorder" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense">
<item name="boxBackgroundMode">none</item>
</style>
Thanks
You can set the style of the TextInputLayout to be style="@style/Widget.Design.TextInputLayout"! https://github.com/material-components/material-components-android/blob/master/lib/java/com/google/android/material/textfield/res/values/styles.xml#L19
Yes that what i used
Most helpful comment
You can set the style of the TextInputLayout to be
style="@style/Widget.Design.TextInputLayout"! https://github.com/material-components/material-components-android/blob/master/lib/java/com/google/android/material/textfield/res/values/styles.xml#L19