Assigned
Status Update
Comments
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #4
The release notes documentation has been edited to clarify this change in behavior for line height.
To support non-standard text sizes, we encourage users to follow the Material design system and use a different style = LocalTextStyle.current.copy(lineHeight = TextUnit.Unspecified)
, or create a custom Typography
entirely.
co...@google.com <co...@google.com> #6
In my case, I have multiple font sizes in the same Text
(using SpanStyle
in AnnotatedString
). There are legitimate reasons for this. For example, when combining Chinese and English (phonetic) together (for language-learning purposes).
ap...@google.com <ap...@google.com> #7
Project: platform/frameworks/support
Branch: androidx-main
commit 15875941ac771415152c30e09a85394e0956304b
Author: Max Alfonso-Ying <maxying@google.com>
Date: Wed Jun 14 15:28:31 2023
Deprecate TextFieldColorsWithIcons
Its methods have been moved to TextFieldColors. The overload
of leading and trailing icon color without an interactionSource
parameter has been deprecated as well.
Bug: b/199377790
Test: n/a
Relnote: "TextFieldColorsWithIcons in Material 2 has been deprecated
in favor of TextFieldColors. When overriding `leadingIconColor` or
`trailingIconColor`, also override the overload with `interactionSource`."
Change-Id: Id57eda2be81aa23263a9c9a83e89789934acf169
M compose/material/material/api/current.txt
M compose/material/material/api/restricted_current.txt
M compose/material/material/src/androidMain/kotlin/androidx/compose/material/ExposedDropdownMenu.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextFieldDefaults.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt
https://android-review.googlesource.com/2626351
Branch: androidx-main
commit 15875941ac771415152c30e09a85394e0956304b
Author: Max Alfonso-Ying <maxying@google.com>
Date: Wed Jun 14 15:28:31 2023
Deprecate TextFieldColorsWithIcons
Its methods have been moved to TextFieldColors. The overload
of leading and trailing icon color without an interactionSource
parameter has been deprecated as well.
Bug:
Test: n/a
Relnote: "TextFieldColorsWithIcons in Material 2 has been deprecated
in favor of TextFieldColors. When overriding `leadingIconColor` or
`trailingIconColor`, also override the overload with `interactionSource`."
Change-Id: Id57eda2be81aa23263a9c9a83e89789934acf169
M compose/material/material/api/current.txt
M compose/material/material/api/restricted_current.txt
M compose/material/material/src/androidMain/kotlin/androidx/compose/material/ExposedDropdownMenu.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextFieldDefaults.kt
M compose/material/material/src/commonMain/kotlin/androidx/compose/material/TextFieldImpl.kt
Description
Currently in aosp/1810198 suggests interface with new methods instead of adding this methods to TextFieldColors interface (because of b/198571248 ). Move these methods to TextFieldColors and deprecate
when it'll be possible