@@ -493,12 +493,13 @@ instead of on the `EditText` in order to avoid unintended behaviors.
493493
494494#### Input text attributes
495495
496- Element | Attribute | Related method(s) | Default value
497- -------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------ | -------------
498- ** Input text** | ` android:text ` | ` setText ` <br />` getText ` | ` @null `
499- ** Typography** | ` android:textAppearance ` | ` setTextAppearance ` | ` ?attr/textAppearanceBodyLarge `
500- ** Input text color** | ` android:textColor ` | ` setTextColor ` <br />` getTextColors ` <br />` getCurrentTextColor ` | ` ?attr/colorOnSurface `
501- ** Cursor color** | N/A (color comes from the theme attr ` ?attr/colorControlActivated ` ) | N/A | ` ?attr/colorPrimary `
496+ Element | Attribute | Related method(s) | Default value
497+ ------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------ | -------------
498+ ** Input text** | ` android:text ` | ` setText ` <br />` getText ` | ` @null `
499+ ** Typography** | ` android:textAppearance ` | ` setTextAppearance ` | ` ?attr/textAppearanceBodyLarge `
500+ ** Input text color** | ` android:textColor ` | ` setTextColor ` <br />` getTextColors ` <br />` getCurrentTextColor ` | ` ?attr/colorOnSurface `
501+ ** Cursor color** | N/A (color comes from the theme attr ` ?attr/colorControlActivated ` ) | N/A | ` ?attr/colorPrimary `
502+ ** Text highlight color** | N/A (color comes from the theme attr ` ?android:attr/textColorHighlight ` ) | N/A | [ ` @color/m3_highlighted_text ` ] ( https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/color/res/color/m3_highlighted_text.xml )
502503
503504** Note:** The input text attributes should be set on the ` TextInputEditText ` .
504505
@@ -676,12 +677,13 @@ instead of on the `EditText` in order to avoid unintended behaviors.
676677
677678#### Input text attributes
678679
679- Element | Attribute | Related method(s) | Default value
680- -------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------ | -------------
681- ** Input text** | ` android:text ` | ` setText ` <br />` getText ` | ` @null `
682- ** Typography** | ` android:textAppearance ` | ` setTextAppearance ` | ` ?attr/textAppearanceBodyLarge `
683- ** Input text color** | ` android:textColor ` | ` setTextColor ` <br />` getTextColors ` <br />` getCurrentTextColor ` | ` ?attr/colorOnSurface `
684- ** Cursor color** | N/A (color comes from the theme attr ` ?attr/colorControlActivated ` ) | N/A | ` ?attr/colorPrimary `
680+ Element | Attribute | Related method(s) | Default value
681+ ------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------ | -------------
682+ ** Input text** | ` android:text ` | ` setText ` <br />` getText ` | ` @null `
683+ ** Typography** | ` android:textAppearance ` | ` setTextAppearance ` | ` ?attr/textAppearanceBodyLarge `
684+ ** Input text color** | ` android:textColor ` | ` setTextColor ` <br />` getTextColors ` <br />` getCurrentTextColor ` | ` ?attr/colorOnSurface `
685+ ** Cursor color** | N/A (color comes from the theme attr ` ?attr/colorControlActivated ` ) | N/A | ` ?attr/colorPrimary `
686+ ** Text highlight color** | N/A (color comes from the theme attr ` ?android:attr/textColorHighlight ` ) | N/A | [ ` @color/m3_highlighted_text ` ] ( https://github.com/material-components/material-components-android/tree/master/lib/java/com/google/android/material/color/res/color/m3_highlighted_text.xml )
685687
686688** Note:** The input text attributes should be set on the ` TextInputEditText ` .
687689
0 commit comments