I am trying to swap out calligraphy (very useful library) for android fonts in xml but i dont know how to change the default font for all views like with calligraphy. Calligraphy was able to change the default font at initialization time. How can i do this with android fonts support library ?
from the fonts in xml article on android developer site i see we can apply a font family to one view like this:
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/lobster"/>
but what if i want to change the font of the entire app ?
the reason i'd like to use android xml fonts is due to this error but this is not really relevant to the question.