I'm developing an Android app on my Nexus 5 device (~445 ppi) and I'm using Roboto Light as the font for a few sections in the application. When displayed in my device, the Roboto Light text looks clean and crisp, however when testing the app on device with screens that have a lower pixel density, Roboto Light looks pretty bad (bolder fonts look OK).
What is the best and quickest way to tell my app to use Roboto Light on high-density screens and another font on low-density ones? My first idea was to create different values
directories (values-mdpi, values-hdpi, values-xhdpi...), place a strings.xml
in each one with the same key and assign it the font's filename I wish to use for each density, and then load the font using that string... however that looks a bit complicated and I was wondering if there is an easier way.