Android Jetpack: Autosizing TextView

Subscribers:
1,350,000
Published on ● Video Link: https://www.youtube.com/watch?v=JYrpEAz_A1U



Duration: 2:27
72,767 views
1,106


For the best user experience with text, material design recommends using a dynamic type instead of smaller type sizes or truncating larger-size text. With Android O and Jetpack, TextView gains a new property: autoSizeTextType which allows the text to scale uniformly, when working with dynamic content. You can fine tune the auto-size by setting the minimum and maximum values and the step granularity, or by using preset text sizes.

For more info:
Autosizing TextViews guide → https://goo.gl/ythdYL
Google I/O 2017 talk on “What’s new in Support Library” → https://goo.gl/Ukf4Mz

Watch more Android Jetpack videos here → https://goo.gl/kw8LPv

Subscribe to the Android Developers channel here → https://goo.gl/vLYDU

#jetpack #featured







Tags:
android jetpack autosizing textview
jetpack autosizing textview
TextView
text view
android textview
autosizetexttype
autosize
setAutoSizeTextTypeUniformWithConfiguration
autoSizePresetSizes
dynamic text sizes
text
android text
android developers
mobile developers
developer for android
jetpack at google IO
android o
android p
new in android
dev tools
dev updates
GDS: Yes;