Status Update
Comments
ja...@gmail.com <ja...@gmail.com> #3
Thanks for the report!
jn...@google.com <jn...@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.
ja...@gmail.com <ja...@gmail.com> #5
bi...@gmail.com <bi...@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).
me...@google.com <me...@google.com> #7
me...@google.com <me...@google.com> #8
ja...@gmail.com <ja...@gmail.com> #9
I haven't touched this in a year and have uninstalled all my Android development tools for the time being. At the time I wrote this, IIRC, it affected both the emulator and the actual watch.
Description
Component used: Toast Version used: Dunno Devices/Android versions reproduced on: Watch (Emulator, R), API 30, Target SDK 33, minimum SDK 30
When attempting to create a text only toast, I am unsuccessful.
makeText creates a toast with a view set. This gets blocked by notification service.
If I explicitly set it to null such as in the comment, then the show function complains because its expecting the view to be set.
The underlying cause appears to be that
Compatibility.isChangeEnabled(CHANGE_TEXT_TOASTS_IN_THE_SYSTEM)
is not returning True when it absolutely should.I do not have a workaround at this time.