Colton Idle
09/21/2023, 4:35 AMTimePickerState
returns incorrect hours when initialized with 23 hours. (b/278242122)
• Fixed initial toggle state for noon and minute validation. (b/269768197, b/282790635)
• Fixed state.hour
returning incorrect value for 11pm. (b/282761472, b/278242122)
Version 1.6.0-alpha06 anim, foundation, material2, runtime, ui
• New Composable wrappers for SurfaceView
and TextureView: GraphicsSurface()
and EmbeddedGraphicsSurface()
. It is an experimental API and is subject to changes and modifications. (I9ddb2)
• Modifier.magnifier()
is now a stable API. This includes the removal of MagnifierStyle
in favor of inline parameters in the modifier itself. (I83bec, b/298381260, b/262367109, b/261438887)
• Introduced updateCurrentPage
and updateTargetPage
in ScrollScope
, these are the last pieces necessary to allowing customization of animated scroll through PagerState.scroll
. (I9cad5, b/267744105, b/243786897)
• Remove density from SnapFlingBehavior
. All implementations of SnapLayoutInfoProvider
already have a way of accessing the density, the receiver scope could be removed which will lead to a less complex implementation of both SnapFlingBehavior
and SnapLayoutInfoProviders
. (I153c3)
• More modifiers marked as stable. (I56af1, b/298046462)
• Removed SnapStepSize
from SnapLayoutInfoProvider
. The calculation should be done using the Layout information and provided through the approach or snapping offsets. (If320c)
• Compose now uses non-linear font scaling for better readability and accessibility. When font scale > 100% in system settings, small text will increase in size normally, but already-large text will only increase a little bit. Also, line heights defined in SP will automatically adjust to stay proportional to the 100% scale intended height. See the Font Scaling Best Practices for more info. (I11518)
• Remove the use of rememberSaveable
for tooltips. (Icc131, b/299500338)
• Removed drawer-related functionality from BottomSheetScaffold
. Wrap your BottomSheetScaffold
in a Drawer composable to achieve the previous functionality. See BottomSheetScaffoldWithDrawerSample
for an example. (I1dcc8)
• Introduced a temporary flag to control whether Scaffold should measure its children during measurement or during placement. By default, this will measure in measurement. If you are facing issues with the new behavior, please file an issue. (If6e3b)
• Additional optimizations to Material icons. (I3e08d)
• Adds ability to traverse up/down modifier tree to find similar nodes. (I2d234)
• Added onRestoreFailed()
callback to the focusRestorer()
modifier (Ie1d43)
• Added androidx annotations to various graphics APIs to specify ColorInt
, FloatRange
, IntRange
, Size
and more. (Id65c8, b/290950582)
• Add showSystemUi=true
to PreviewScreenSizes
definition (Ib61d3)
m3 Version 1.2.0-alpha08
• ColorScheme
is now Immutable, making individual color updates less efficient, but making more common usage of colors more efficient. The reasoning behind this change is that the majority of apps wouldn't have updating individual colors as a main use case. This is still possible but it will recompose more than before, in turn we significantly decrease the amount of state subscriptions through all of Material code and will impact initialization and runtime cost of more standard use cases. (Ic447d, b/297212873)
• Tonal Elevation no longer animates in different interaction states to match spec. (Icdd12)
• Added a new BottomAppBar
that takes as parameter a BottomAppBarScrollBehavior
in order to auto-hide it when content is scrolled. Also added FabPosition.EndOverlay
allowing the FAB to overlay the bottom app bar in the scaffold instead of being anchored above it. (Iecb47)
• Introduced a temporary flag to control whether Scaffold should measure its children during measurement or during placement. By default, this will measure in measurement. If you are facing issues with the new behavior, please file an issue. (I0b354)
• Fixed horizontal Edge to Edge in BottomSheet
by using the correct measurement for device screen width. (I1df0c, b/299058752)
• Fixed a bug where ModalBottomSheet
was not calling onDismissedRequest
when dismissing it by swiping down on the sheet. (Idfdd8)Zoltan Demant
09/21/2023, 5:08 AMdorche
09/21/2023, 11:57 AMTravis Griggs
09/21/2023, 9:25 PM