Created by: artem-zinnatullin
This PR adds support for "Fonts in XML" https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml.html
We've verified that:
- at runtime fonts work properly
-
R.font
gets generated
Checked with both aapt and aapt2 w/ build tools 26.0.2 and support library 27.0.2.
Without this change Buck was fails build when we add fonts to res/font
:
.../res/font' is not a valid resource sub-directory
Thanks @rjmarsan for help!