Skip to content

dharmakshetri/AutoSizingTextViewinKotlin

Repository files navigation

AutoSizingTextViewinKotlin

Android 8.0 (API level 26) allows you to instruct a TextView to let the text size expand or contract automatically to fill its layout based on the TextView's characteristics and boundaries. This setting makes it easier to optimize the text size on different screens with dynamic content.

AutoSizing TextView in Kotlin

  • Kotlin
  • Support Library

Screenshot:

output

About Me:

Dharma Kshetri , Android Engineer