Skip to content

Commit 955d47d

Browse files
afohrmancketcham
authored andcommitted
Update documentation for TextInputLayout's default style.
Resolves #143 by clarifying that TextInputLayout does not currently set the default style because of a bug in ThemeOverlay. PiperOrigin-RevId: 205452751
1 parent fa9d470 commit 955d47d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/components/TextInputLayout.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,10 @@ control over the visual aspects of the input text.
5656

5757
### Material Styles
5858

59-
Using `TextInputLayout` with an updated Material theme
60-
(`Theme.MaterialComponents`) will provide the correct updated Material styles to
61-
your text fields by default. If you need to use an updated Material text field
62-
and your application theme does not inherit from an updated Material theme, you
63-
can apply one of the updated Material styles directly to your widget in XML.
59+
To use an updated `TextInputLayout`, apply one of the updated Material styles
60+
directly to your widget in XML.
6461

65-
#### Filled Box (Default)
62+
#### Filled Box
6663

6764
Filled text fields have a solid background color and draw more attention,
6865
especially in layouts where the field is surrounded by other elements. To use a

0 commit comments

Comments
 (0)