From 798574d72daa041cca177015c5510e8ae2e2a59e Mon Sep 17 00:00:00 2001 From: manabu-nakamura Date: Wed, 18 Dec 2024 16:22:44 +0900 Subject: [PATCH] [Docs] update TextField.md --- docs/components/TextField.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/components/TextField.md b/docs/components/TextField.md index 1a6694aeb21..0da9a0a42ad 100644 --- a/docs/components/TextField.md +++ b/docs/components/TextField.md @@ -463,7 +463,7 @@ indicator, optional helper/error text and optional leading/trailing icons. Element | Attribute | Related method(s) | Default value ---------------------- | ------------------------ | --------------------------------------------------------------------------------------- | ------------- **Color** | `app:boxBackgroundColor` | `setBoxBackgroundColor`
`setBoxBackgroundColorResource`
`getBoxBackgroundColor` | `?attr/colorSurfaceContainerHighest` (see all [states](https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/textfield/res/color/m3_textfield_filled_background_color.xml)) -**Shape** | `app:shapeAppearance` | N/A | `?attr/shapeAppearanceSmallComponent` +**Shape** | `app:shapeAppearance` | N/A | `?attr/shapeAppearanceCornerExtraSmall` **Text field enabled** | `android:enabled` | `setEnabled` | `true` #### Leading icon attributes @@ -643,7 +643,7 @@ Element | Attribute | Related method(s) **Stroke error color** | `app:boxStrokeErrorColor` | `setBoxStrokeErrorColor`
`getBoxStrokeErrorColor` | `?attr/colorError` **Stroke width** | `app:boxStrokeWidth` | N/A | `1dp` **Stroke focused width** | `app:boxStrokeWidthFocused` | N/A | `2dp` -**Shape** | `app:shapeAppearance` | N/A | `?attr/shapeAppearanceSmallComponent` +**Shape** | `app:shapeAppearance` | N/A | `?attr/shapeAppearanceCornerExtraSmall` **Text field enabled** | `android:enabled` | `setEnabled` | `true` #### Leading icon attributes @@ -777,7 +777,7 @@ text fields and affects other components: @color/shrine_red @style/TextAppearance.App.TitleMedium @style/TextAppearance.App.BodySmall - @style/ShapeAppearance.App.SmallComponent + @style/ShapeAppearance.App.Corner.ExtraSmall - @@ -807,7 +807,7 @@ all text fields but does not affect other components: