The April 2026 stable release of the BOM (2026.04.01) brings several notable changes to the Android UI toolkit. The v2 testing APIs are now the default, switching from UnconfinedTestDispatcher to StandardTestDispatcher to better simulate production coroutine behavior and reduce flaky tests. Visual debugging tools for shared element transitions and animatedBounds are introduced via LookaheadAnimationVisualDebugging. trackpad input handling is overhauled so trackpad events are treated as mouse events rather than touch events, fixing drag-to-scroll issues and adding support for two-finger swipes and pinches. New experimental APIs include a Style API for declarative component customization, UiMediaScope/mediaQuery for adaptive UI queries, a Grid layout for 2D screen-level layouts, FlexBox for flexible wrapping layouts, and a new SlotTable implementation for improved runtime performance. Android Studio gains custom preview wrappers via PreviewWrapperProvider. The upcoming 1.12.0 release will require compileSdk 37 and AGP 9.

9m read timeFrom android-developers.googleblog.com
Post cover image
Table of contents
Coroutine execution in testsShared element improvements and animation toolingTrackpad eventsComposition host defaults (Compose runtime)Preview wrappersStyles (Experimental)MediaQuery (Experimental)Grid (Experimental)FlexBox (Experimental)New SlotTable implementation (Experimental)

Sort: