Status Update
Comments
ma...@google.com <ma...@google.com>
sg...@google.com <sg...@google.com>
na...@google.com <na...@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.
ap...@google.com <ap...@google.com> #5
sg...@google.com <sg...@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).
pr...@google.com <pr...@google.com> #7
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material3:material3:1.1.0-beta01
sh...@gmail.com <sh...@gmail.com> #8
2. Then, you need to put 'false' in the showModeToggle parameter.
Compose:
DatePicker(
state = rememberDatePickerState(),
modifier = Modifier.fillMaxWidth(),
title = null,
headline = null,
showModeToggle = false
)
Hope you'll find the full answer here:
Description
Jetpack Compose component used: DatePicker from androidx.compose.material3:material3:1.1.0-alpha05
Android Studio Build: #AI-221.6008.13.2211.9477386, built on January 11, 2023
Kotlin version: 1.8.0
Code Sample to Reproduce:
DatePicker(
datePickerState = rememberDatePickerState(),
title = {},
headline = {},
modifier = Modifier.background(Color.Red),
)