Android Jetpack: Autosizing TextView

75 341
22.5
Следующее
31.05.18 – 103 3095:30
Android Jetpack: LiveData
Популярные
Опубликовано 30 мая 2018, 17:05
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 → goo.gl/ythdYL
Google I/O 2017 talk on “What’s new in Support Library” → goo.gl/Ukf4Mz

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

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

#jetpack #featured
автотехномузыкадетское