TextView: Now with auto-sizing

34 877
17.1
Следующее
19.09.17 – 21 2311:43
Play Billing Library 1.0
Популярные
Опубликовано 14 сентября 2017, 17:11
We've introduced Android Jetpack! View the up-to-date TextView video here → goo.gl/CLhWL5

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 Support Lib 26, 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 check out these links!
Autosizing TextViews guide: goo.gl/JZ85Ap
Google I/O 2017 talk on “What’s new in Support Library”: goo.gl/Ukf4Mz

Subscribe to the Android Developers channel here: goo.gl/vLYDU
автотехномузыкадетское