Material-components-android: [TextInputLayout] TextInputLayout legacy design

Created on 17 Oct 2019  路  5Comments  路  Source: material-components/material-components-android

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.
Screen Shot 2019-10-17 at 4 22 48 PM.
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.

feature request

Most helpful comment

All 5 comments

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

Yes that what i used

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aarontwf picture aarontwf  路  3Comments

hkchakladar picture hkchakladar  路  3Comments

gabrielemariotti picture gabrielemariotti  路  3Comments

magnusfernandes picture magnusfernandes  路  3Comments

sepehr-alipour picture sepehr-alipour  路  3Comments