Workaround for font support with appcompat 26

Support lib 26.0.0 assumes that all fonts will be located within a res/
directory as root. Layoutlib breaks this assumption so adding a
workaround to still create the Typeface after the support lib failure.

Bug: 64137851
Test: Existing tests pass. Integration with supportlib tested from
studio

Change-Id: I58f5d07389c548021f598cb4a17d54b66a39dfb7
2 files changed