Using fonts in Android

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



Duration: 3:30
72,249 views
941


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: https://goo.gl/BH43G7
Downloadable Fonts guide: https://goo.gl/1qot1v
Downloadable Fonts sample: https://goo.gl/xJ5O3C
Google I/O 2017 talk on “What’s new in Support Library”: https://goo.gl/Ukf4Mz

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







Tags:
Android
fonts
android oreo
android o
oreo
support library
support library 26
android support library
android support library 26
fonts in android
android fonts
developer
app developer
dev
developer tools
dev tools
devtools
product: android
fullname: Florina Muntenescu
Location: MTV
Team: Scalable Advocacy
Type: DevByte
Other: NoGreenScreen
GDS: Yes;