In this tutorial, we’ll improve the typography of a sample application by switching out the standard font for something with a more distinctive and dynamic range of styles from the Google Fonts catalog. Just like our web API, which serves fonts directly to websites, the more that people use Google Fonts, the greater the latency gains from sharing. Once a font is downloaded from Google Fonts for one app, Android keeps it on disk so other apps can use it too without any additional storage. Android studio listview font xml apk#Your APK will be smaller because it doesn’t need to bundle the fonts upfront. This feature puts the full Google Fonts catalog at your fingertips and makes it easy to customize typography on JellyBean and later (SDK level 16+) with free, reliable, high-quality Google Fonts.īeyond aesthetic improvements, using downloadable fonts can also reduce the overall size of APK files, and decrease memory usage, because downloaded fonts will be shared among all applications. Luckily, Android Studio has made it easier to build an app with distinctive typography using the new “Downloadable Fonts” feature. Still, there’s always the temptation to use default fonts, whether to push ahead with a release, to sidestep the complexity of integrating custom fonts, or just to avoid the seemingly arcane art of type selection. It’s simple, efficient, and opens up a range of new typographic options.Įvery developer knows that design plays a major role in user experience-it can be a critical factor in the success or failure of your app. Typography can make a big difference in the attractiveness and usability of an app, and now Android developers can use typefaces from the Google Fonts catalog. The Android Developer’s Guide to Better Typography
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |