Published on September 14, 2017 by Android Developers
Want create site? Find Free WordPress Themes and plugins.

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

Did you find apk for android? You can find new Free Android Games and apps.

Leave a Reply

33 Comments on "TextView: Now with Auto-Sizing"

Notify of
avatar

Pero Peric
Guest
Pero Peric
21 days 4 hours ago

Be my wife! 🙂

fgcncn gbbnfgb
Guest
fgcncn gbbnfgb
25 days 12 hours ago

есть такие видео с переводом на русский

Vishamber lal
Guest
Vishamber lal
1 month 10 hours ago

Great Work but late

DEPORT ALL CALIFORNIAN ILLEGALS
Guest
DEPORT ALL CALIFORNIAN ILLEGALS
1 month 1 day ago
ANDROID DEVELOPER'S PLEASE MAKE ANDROID FULLY SECURE AGAINS'T ALL SPYWARE'S AND FULLY SECURE AGAINST ALL SS7 ATTACKS AND FULLY SECURE AGAINST ALL BRUTE FORCE ATTACKS AND ALSO FULLY SECURE AGAINST ALL KIND OF ATTACKS AND FULLY SECURE AGAINST ALL SOFTWARE DEFINED RADIOS AND FULLY SECURE AGAINST UFED PHYSICAL ANALYZER AND FULLY SECURE AGAINST UFED AND FULLY SECURE AGAINST UFED TOUCH 1 AND ALSO FULLY SECURE AGAINST UFED TOUCH 2 AND FULLY SECURE AGAINST ALL ANDROID USB RECOVERY STICKS AND FULLY SECURE AGAINST ALL ANDROID RECOVERY PROGRAMS AND FULLY SECURE AGAINST ALL ANDROID RECOVERY SOFTWARES AND FULLY SECURE AGAINST ALL KEY… Read more »
Bnd K
Guest
Bnd K
1 month 4 days ago

Is that the official channel?

Liran Barsisa
Guest
Liran Barsisa
1 month 5 days ago

0:23 – This is bad auto-resizing. Just wrapping the word, instead of changing the font to make the text fit nicely in its boundaries.It shows :"TextView …"Instead of :"TextView …"Made a bug report about this here:issuetracker.google.com/issues/38468964

LGogicha
Guest
LGogicha
1 month 6 days ago

Please make it free for little time pleaaseee I can't buy it I am just teen my parents don't give me money

Liran Barsisa
Guest
Liran Barsisa
1 month 5 days ago

It is free, but still buggy, sadly

Rounak Sadhukhan
Guest
Rounak Sadhukhan
1 month 7 days ago

plzzzz make a video on GPU driver update&it's impact on gaming…

RA JA
Guest
RA JA
1 month 7 days ago

fine

Min Kang
Guest
Min Kang
1 month 7 days ago

Why not for wrap content? Can't it just measure the parent size and adjust the text size to fit the container? Another limitation developers need to remember.

1 2 3
wpDiscuz