Hi all - we have released <1.5.0-alpha09> with upd...
# compose-wear
s
Hi all - we have released 1.5.0-alpha09 with updates to simplify the ReduceMotion API and also an extension to CurvedTextStyle to include distinct letter spacings for clockwise and anti-clockwise curved text (needed because whilst clockwise letters fan out from the baseline, anti-clockwise letters fan in, so the latter need a larger spacing). In the Material3 library, we have released 1.0.0-alpha32. This includes: updates to button Shapes classes API to improve consistency; improvements to curved text rendering and associated updates to TimeText which remove earlier non-round support; a revamp of the ButtonGroup API to replace the DSL-based ButtonGroupItem with modifier.weight, modifier.minWidth and modifier.animateWidth; bug fixes to animation on EdgeButton and Button; addressed inconsistencies in large-screen breakpoints (screens at and above 225dp are large screen). Please take a look at the release notes for more details.
🚀 2
🎉 3
alphabet white a 1
alphabet white l 1
alphabet white p 1
alphabet white h 1
🅰️ 1
♾️ 2
m
😮 ... i just noticed that the time text composable signature has changed. in one wearos app that i'm working, i updated the
Timetext
composable usage:
Copy code
val fontSize = MaterialTheme.typography.bodySmall.fontSize
TimeText { time ->
  timeTextCurvedText(
    time = time,
    style = CurvedTextStyle(
      fontSize = fontSize,
    ),
  )
}
s
Thanks Marlon - yes, the TimeText API has changed with this alpha release. You might want to use TimeTextDefaults.timeTextStyle(fontSize) to be explicit about the curved text style you're using, but the CurvedTextStyle merging should also work with your code.
m
At the moment of checking the changes, the usage of TimeTextDefaults.timeTextStyle() didn't work, so, i used the previous approach. In next updates i keep in mind the time text style updates.