chrisjenx / Calligraphy

Custom fonts in Android the easy way...
Apache License 2.0
8.59k stars 1.1k forks source link

Is it necessary to recreate activity after font change? #460

Closed kilicpl closed 5 years ago

kilicpl commented 5 years ago

Hi. Thanks million times for such a great library bro! As a newbie my question would be is there a way we can continue using the new font without recreating the application upon changing. Thanks a lot again Czesc

chrisjenx commented 5 years ago

Seen as you can't change xml at runtime you'd have to manually change it via setTypeface() anyway. If you do any theme switching I'm fairly sure they require an activity restart.

Anyway, this is not really a Calligraphy limitation or feature this is something you need to think about how you design your app.