Jetpack Compose 1.2 packs of text improvements

Jetpack Compose Text Enhancement Packs 1.2 Google’s toolkit for building native user interfaces for Android enables more accurate text alignment with font offsets and introduces a downloadable font API. Jetpack Compose 1.2, Google’s toolkit for building native Android user interfaces, is now available as a beta version. The main benefits of the update include text improvements such as font indentation and downloadable fonts. With Downloadable Fonts, app developers get new APIs to access Google Fonts asynchronously and to identify fallback fonts without a complex setup. Benefits include smaller APK sizes and better system health, Google says because multiple apps can share the same font through a single provider. [Also on InfoWorld: The Best Programming Languages ​​You Can Learn Today] Addressing the top-voted bug in the Android release tracker, Jetpack Compose 1.2 makes FontPadding inclusion a customizable parameter. Google recommends setting this value to false, which allows for more accurate text alignment within the layout. The plan is to set error as the default in a future release. Jetpack Compose 1.2 beta, introduced on May 11, is accessible from the Android developer site. The production version of Jetpack Compose 1.0 was released in July. Other improvements in Jetpack Compose 1.2 include New tools and guidelines to improve application performance. A text magnification widget that makes text selection easier. For lazy formatting, the LazyVerticalGrid and LazyHorizontalGrid grid APIs have been moved to an experimental state. A new experimental API, LazyLayout, allows developers to implement custom layouts. By embedding scroll scrolling into CoordinatorLayout from the view system, developers can ensure that scrolling is interoperable, making it easier to set up a collapsible toolbar. The window size-types listed in the version make it easy to create flexible layouts. It is in an alpha state as part of the new Material 3 library. To help developers use Compose more efficiently, the Android Studio Dolphin IDE version, now in beta, adds features for Compose development. An animation coordination tool allows developers to view and scrub all animations at once, while multi-view annotation helps create for different screen sizes. Compilation for the Wear OS smartwatch platform has moved into beta.