Until recently, custom fonts in Android were a big pain. They weren’t straight forward to implement and you had to bundle each custom font in the APK. With API 26 and respectively AppCompat Support Library 26 you can finally use downloadable fonts! These will not bloat your APK size. In addition to downloadable fonts, you can also add a custom font right to the project. Using it is still much simpler than before.

This post contains all the code that’s been written in this YouTube video.

 

To get the code check out this GitHub repository: https://github.com/ResoCoder/android-custom-fonts-tutorial

 

About the author 

Matt Rešetár

Matt is an app developer with a knack for teaching others. Working as a Flutter freelancer and most importantly developer educator, he doesn't have a lot of free time 😅 Yet he still manages to squeeze in tough workouts 💪

You may also like

Flutter Riverpod Tutorial – The Better Provider

Flutter Bloc & Cubit Tutorial

Flutter Custom & Staggered Page Transition Animation Tutorial

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>