Status Update
Comments
co...@google.com <co...@google.com>
sg...@google.com <sg...@google.com>
ap...@google.com <ap...@google.com> #3
Thanks for the report!
sg...@google.com <sg...@google.com>
fu...@gmail.com <fu...@gmail.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.
fu...@gmail.com <fu...@gmail.com> #5
na...@google.com <na...@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).
pa...@gmail.com <pa...@gmail.com> #7
This issue is still present in material3:1.0.1 - moving to 1.1.0-beta01 fixed it for me.
Description
Jetpack Compose version: 1.3.0-beta03
Jetpack Compose component used: androidx.compose.material3:material3:1.0.0-beta03
Android Studio Build: Android Studio Dolphin | 2021.3.1 | Build #AI-213.7172.25.2113.9014738
Kotlin version: 1.7.10
Problem:
If a custom container color is applied to MediumTopAppBar or LargeTopAppBar, the bottom half of the AppBar gets default color.
Reason:
This is because of the color is only applied to the top section:
AppBar.kt, line 1166