This talk was given at Droidcon Berlin 2018 at the Cupcake stage (hence the cupcake reference :-)).
Abstract:
Android Oreo introduced exciting text changes that make it easier to use custom fonts, communicate with emojis, reduce APK size, and expand or contract textviews dynamically. Luckily, the Support Libraries from v26 onwards allow us to implement these features with backwards compatibility.
In this talk, you will learn how to implement these text changes with the help of the Support Libraries, and their limitations. You will also learn about how they are natively implemented by the framework versus the Support Libraries.
At the end of this session, you will have an increased understanding of the inner workings of Fonts in XML, Downloadable Fonts, EmojiCompat and autosizing of TextViews, as well as be ready to update your apps with them without the fear of the unknown!
Links:
Fonts in XML
https://segunfamisa.com/posts/custom-fonts-with-android-support-library
https://medium.com/google-design/the-android-developers-guide-to-better-typography-97e11bb0e261
https://www.youtube.com/watch?v=TfB-TsLFJdM
Downloadable Fonts
https://github.com/googlesamples/android-DownloadableFonts
https://developers.google.com/fonts/docs/android
https://proandroiddev.com/android-downloadable-fonts-8e60d3e146b7
https://hackernoon.com/downloadable-fonts-for-android-2041235f91e6
EmojiCompat
https://github.com/googlesamples/android-EmojiCompat
https://medium.com/exploring-android/exploring-the-android-emoji-compatibility-library-1b9f3bb724aa
http://dannyroa.com/2017/08/29/future-proof-emojis-on-android/
https://www.youtube.com/watch?v=sYGKUtM2ga8
Textview Autosizing:
https://www.youtube.com/watch?v=yvBt3YI3LZY
https://www.youtube.com/watch?v=fjUdJ2aVqE4