Fixed
Status Update
Comments
sg...@google.com <sg...@google.com>
na...@google.com <na...@google.com> #3
Thanks for the report!
de...@gmail.com <de...@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.
sg...@google.com <sg...@google.com> #5
deleted
ph...@gmail.com <ph...@gmail.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).
Description
Starting with
1.0.0-beta02
, trying to set the container color of a TopAppBar to be transparent no longer works.It looks like inhttps://android-review.googlesource.com/c/platform/frameworks/support/+/2189523 the behavior was changed so that there is always a
Surface
with the default color underneath the TopAppBar, whose color can't be configured to be transparent.Example usage:https://github.com/android/nowinandroid/blob/main/feature-foryou/src/main/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreen.kt#L143-L145