Colton Idle
07/29/2022, 4:29 AMdrawText
extension function on DrawScope
to provide a way to draw multi-styled text on composables and modifiers that operate on a DrawScope
like Canvas
and drawBehind
.
• Soft keyboard will now be hidden when a text field is disabled while focused.
• When adding InputEventChange
events to Velocity Tracker we will consider now deltas instead of positions, this will guarantee the velocity is correctly calculated for all cases even if the target element moves
• When a scrollable has a focused child, it will now correctly scroll to keep the focused child in view when its size is decreased, even when the size is animated.
• Fixed a crash where TextField
is cleared and refilled while selection is active.
• Fix AnimatedVisibility
issue with FloatingActionButton
in Scaffold
• Re-added ComposerKt.traceEventStart(Int, String)
for backwards compatibility (I wonder if this is related to the compose roadmap item "Composition Tracing")
• Added a new property PointerInputChange#pressure
to retrieve the pressure.
• Added rememberTextMeasurer
to easily create and remember TextMeasurer
instances in composition.
• Added drawText
extension function on DrawScope
to provide a way to draw multi-styled text on composables and modifiers that operate on a DrawScope
like Canvas
and drawBehind
.
• Introduce a new experimental API called TextMeasurer
that enables arbitrary text layout computation that creates identical results to BasicText
, independent from Compose runtime.
• Add mapTree
to SlotTree.kt
. This allows tools to inspect the SlotTree
without making an in memory copy first like asTree does. For the Layout Inspector this gives a performance improvement of about a factor 10.
• Changed Compose Preview to be stored in binary output files, in order to allow developers to write and reuse MultiPreview
annotations from libraries.
• Bunch of M3 stuff https://developer.android.com/jetpack/androidx/releases/compose-material3#1.0.0-alpha15Tash
07/29/2022, 5:28 AMdrawText
😍ste
07/29/2022, 7:15 AMVelocityTracker
problem was SO annonyingStylianos Gakis
07/29/2022, 9:23 AMPointerInputChange#pressure
to retrieve the pressure.
Ohh sounds exciting! Now we only need someone on twitter to make something that uses something like this in SwiftUI for the compose community to jump in and provide a Compose alternative to it too :compose: