[TextInputLayout] TextInputLayout legacy design
See original GitHub issueIs 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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Android TextInputLayout legacy style - Stack Overflow
You can use: <com.google.android.material.textfield.TextInputLayout style="@style/Widget.Design.TextInputLayout".
Read more >TextInputLayout | Android Developers
Layout which wraps a TextInputEditText , EditText , or descendant to show a floating label when the hint is hidden while the user...
Read more >How to use TextInputLayout in new android design library – iTecNote
Recently google introduced new Android Design Library in that how to use TextInputLayout field to enable the Floating Hint feature of EditText. Not...
Read more >Migrating to Material Components for Android
To revert back to the legacy text field, adjust the style in your layout to ... App.TextInputLayout” parent=”Widget.Design.TextInputLayout”>
Read more >android.support.design.widget.TextInputLayout.getEditText ...
Best Java code snippets using android.support.design.widget.TextInputLayout.getEditText (Showing top 20 results out of 315) · LoginActivity.doAction().
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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#L19You can get the old style back by setting
boxBackgroundMode
tonone
in yourTextInputLayout
style.For example: