Android 8 and the support libraries have a new feature that lets you use downloadable fonts in your apps. You can use these in a couple of ways—you can download the fonts programatically with either the core SDK if your app’s minimum SDK is API 26 or later; or, as will be more common, with the support library’s version of the API for apps that have at least a minimum SDK of API 14.
- [Instructor] Android 8, and the Android support libraries…have a new feature that lets you use…downloadable fonts in your apps.…A downloadable font is a font file that's stored…on a server somewhere, and in your app you define…the downloadable font, indicating its location,…and providing authentication credentials.…When the app first starts up, it pre loads the font…over the web, and then that font can be used…just as easily as if it's bundled with the app.…But the result is that the APK file, that's…the package you upload to the Google Play store,…or another app store to deploy the app, can…be a lot smaller.…
Because it doesn't have to store the font file.…Configuring a downloadable font takes quite…a few configuration files, but Android Studio…makes it easy to set up.…To demonstrate this, I'll go to my app's…content_main layout file.…This is where I have a text view component that…I'm using to log information and display it to the user.…Right now, I'm using the app's default font…to display messages.…And notice that I'm running the app on two devices.…
Skill Level Intermediate
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
Android App Development: Data Persistence Librarieswith Annyce Davis4h 52m Intermediate
Building Android Apps with Cloud Serviceswith Albert Lo2h 37m Intermediate
1. Android Development Tips Weekly
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.