12 Commits

Author SHA1 Message Date
hunterstich
a7c3e0b111 [Typography] Automated g4 rollback of changelist 651033811.
*** Reason for rollback ***

fontVariationSettings fix landed in AndroidX

*** Original change description ***

[Typography] Added workaround for fontVariationSettings being set through a TextAppearance

A bug in AppCompatTextView causes fontVariationSettings set through a TextAppearance in xml to not take effect. This is a temporary woraround that cycles the settings to force them to be re-set until the fix is made in appcompat.

Resolves https://github.com/material-components/material-components-android/pull/4235

PiperOrigin-RevId: 659534202
2024-08-07 05:10:40 +00:00
hunterstich
d3f2ca8c1f Automated g4 rollback of changelist 651422787
PiperOrigin-RevId: 658415973
2024-08-05 04:28:19 +00:00
hunterstich
4abc9c60f1 [TextView] Fixed lint error when calling force refresh font variation settings
PiperOrigin-RevId: 651422787
2024-07-22 18:21:31 +00:00
hunterstich
fa5224ef05 [Typography] Added workaround for fontVariationSettings being set through a TextAppearance
A bug in AppCompatTextView causes fontVariationSettings set through a TextAppearance in xml to not take effect. This is a temporary woraround that cycles the settings to force them to be re-set until the fix is made in appcompat.

PiperOrigin-RevId: 651033811
2024-07-10 19:22:57 +00:00
rightnao
e3b255b3a0 [Docs] Crosslink github docs in javadocs
PiperOrigin-RevId: 546393704
2023-07-11 19:37:37 +00:00
raajkumars
df273cd91b [MaterialTextView] Deprecated 4 arg constructor.
Resolves https://github.com/material-components/material-components-android/issues/1397

PiperOrigin-RevId: 439393421
2022-04-06 14:20:53 -04:00
marianomartin
555356b03f Internal cleanup
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
isabellekim
1f9de68025 [All] Add support for materialThemeOverlay
Resolves https://github.com/material-components/material-components-android/pull/948

GIT_ORIGIN_REV_ID=5a8bb35a56c1b813df47d964de8482a26e0da66d
PiperOrigin-RevId: 293839172
2020-02-10 09:55:19 -05:00
marianomartin
0d4515cb46 Internal cleanup
PiperOrigin-RevId: 265971745
2019-08-29 14:59:20 -04:00
cketcham
3c4c77d49c Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264750701
2019-08-26 11:24:43 -04:00
raajkumars
d7a92485f8 Added support to automatically inflate MaterialTextView component into TextView.
Added support to prevent applying line heights from text appearance styles if the current theme sets the flag 'textAppearanceLineHeightEnabled' to false.

PiperOrigin-RevId: 256216184
2019-07-03 14:12:29 -04:00
raajkumars
12024f61a6 Added MaterialTextView component, which supports the ability to pass the line height value via text appearance style.
PiperOrigin-RevId: 254790727
2019-06-24 17:30:00 -04:00