Jetpack Compose 1.2 packs text improvements

Jetpack Compose 1.2, Google’s toolkit for building native Android UIs, is now available as a beta release. Highlights of the update include text improvements such as font padding and downloadable fonts.With downloadable fonts, app developers gain new APIs to access Google Fonts asynchronously and to define fallback fonts without a complex setup. Benefits include smaller APK sizes and improved system health, Google said, because multiple apps can share the same font through a provider. [ Also on InfoWorld: The best programming language to learn now ] Addressing a top-voted bug in the Android issue tracker, Jetpack Compose 1.2 makes includeFontPadding a customizable parameter. Google recommends setting this value to false, which will enable more precise alignment of text within layouts. The plan is to make false the default value in a future release.To read this article in full, please click here

Nov 30, -0001 - 00:00
 0
Jetpack Compose 1.2 packs text improvements
Techatty All-in-1 Publishing
Techatty All-in-1 Publishing

Jetpack Compose 1.2, Google’s toolkit for building native Android UIs, is now available as a beta release. Highlights of the update include text improvements such as font padding and downloadable fonts.

With downloadable fonts, app developers gain new APIs to access Google Fonts asynchronously and to define fallback fonts without a complex setup. Benefits include smaller APK sizes and improved system health, Google said, because multiple apps can share the same font through a provider.

Addressing a top-voted bug in the Android issue tracker, Jetpack Compose 1.2 makes includeFontPadding a customizable parameter. Google recommends setting this value to false, which will enable more precise alignment of text within layouts. The plan is to make false the default value in a future release.

To read this article in full, please click here

Talk to Techatty
Talk to Techatty
Techatty Connecting the world of tech differently! Read. Write. Learn. Thrive. Make an informed decision without distractions. We are building tech media and publication networks to connect YOU and everyone to reliable information, opportunities, and resources to achieve greater success.