Fixed
Status Update
Comments
jn...@google.com <jn...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 2d9a3108dbbe30d739e3ea2b3907a961835adc0b
Author: Sergio Sancho <ssancho@google.com>
Date: Tue Sep 06 17:33:45 2022
Make Position indicator take only the needed space.
We wrap the position indicator drawing code to limit the space it takes
on screen, this is needed for a11y
Relnote: "Make Position indicator take only the needed space."
Test: Ran PositionIndicatorTest.
Bug: b/244409133
Change-Id: Ie61067217e778ed0dde816a348e5e116a456d553
M wear/compose/compose-material/src/androidAndroidTest/kotlin/androidx/wear/compose/material/ProgressIndicatorScreenshotTest.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/PositionIndicator.kt
https://android-review.googlesource.com/2207619
Branch: androidx-main
commit 2d9a3108dbbe30d739e3ea2b3907a961835adc0b
Author: Sergio Sancho <ssancho@google.com>
Date: Tue Sep 06 17:33:45 2022
Make Position indicator take only the needed space.
We wrap the position indicator drawing code to limit the space it takes
on screen, this is needed for a11y
Relnote: "Make Position indicator take only the needed space."
Test: Ran PositionIndicatorTest.
Bug:
Change-Id: Ie61067217e778ed0dde816a348e5e116a456d553
M wear/compose/compose-material/src/androidAndroidTest/kotlin/androidx/wear/compose/material/ProgressIndicatorScreenshotTest.kt
M wear/compose/compose-material/src/commonMain/kotlin/androidx/wear/compose/material/PositionIndicator.kt
Description
Compose previews do not call LaunchedEffects. As a result ScalingLazyColumn is not visible in Compose Previews as it initially starts with list items transparent in order for the user not to see them scrolling into place when the LaunchedEffect is called to scroll to the correct initial item placement.