
Automatically adjusts text font size to fit available space, serving as a Compose alternative to Android's Autosizing TextView. Configuration options include shrinking and fitting text within constraints.
Text Composamble wrapper that automatically adjusts its font size to fit the available space. Compose replacement for Autosizing TextView
Add the dependency to your build.gradle.kts file.
implementation("com.sillydevices:compose.ui.autosizetext:0.1.1")This configuration only shrinks the text size to fit the available space.
AutoSizeText("Your text")This configuration try to fit the text in the available space.
AutoSizeText("Your text", fontSize = TextUnit.Unspecified)
AutoSizeText("Your text", maxFontSize = TextUnit.Unspecified)Text Composamble wrapper that automatically adjusts its font size to fit the available space. Compose replacement for Autosizing TextView
Add the dependency to your build.gradle.kts file.
implementation("com.sillydevices:compose.ui.autosizetext:0.1.1")This configuration only shrinks the text size to fit the available space.
AutoSizeText("Your text")This configuration try to fit the text in the available space.
AutoSizeText("Your text", fontSize = TextUnit.Unspecified)
AutoSizeText("Your text", maxFontSize = TextUnit.Unspecified)