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

Android O and Support Library 26 introduce new ways of working with fonts. You can now bundle fonts as resources by adding the font file in the res/font folder and use it like any other asset in XML layouts, styles or programmatically via the Typeface.

Instead of bundling your font files in the APK, you can now let the APK download them. Your app’s size is decreased and overall system health is improved, since multiple APKs can use the same font.

For more info, check out:
Working with Fonts guide: goo.gl/BH43G7
Downloadable Fonts guide: goo.gl/1qot1v
Downloadable Fonts sample: goo.gl/xJ5O3C
Google I/O 2017 talk on “What’s new in Support Library”: goo.gl/Ukf4Mz

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

Leave a Reply

28 Comments on "Using Fonts in Android"

Notify of
avatar

j2emanue
Guest
j2emanue
18 days 18 hours ago

how would i apply a font to the entire app. i want the app to have a default font

Дмитрий Пупкинг
Guest
Дмитрий Пупкинг
1 month 12 hours ago

Apparently it does not work in the Android Studio 2.3. Google note it in the documentation.

Elliot Alderson
Guest
Elliot Alderson
1 month 14 hours ago

not working in marshmallow but doc shows support from 14+

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 »
Angela Derouard
Guest
Angela Derouard
1 month 5 days ago

I don't have an android phone stop sending me any more

Paul Hendrix
Guest
Paul Hendrix
1 month 8 days ago

The on-demand&shared model is an interesting idea, but its dependence on Google Play Services means that an app using it won't land on my device.

Noxmiles
Guest
Noxmiles
1 month 8 days ago

I like what I see

HERRO
Guest
HERRO
1 month 8 days ago

nice babe

taurelas
Guest
taurelas
1 month 9 days ago

You may be sceptical but I'm binge watching Android Developers

Farshid Roohi
Guest
Farshid Roohi
1 month 9 days ago

Which version Android studio of this version is available for font xml?

1 2 3
wpDiscuz