I'm trying to implement a feature where the user can activate 'Dyslexia'mode, which changes the font of the entire application to one saved in res as a .tff file.
From reading around, this seems to be a very difficult task. I've understood that it's possible to use a custom font for the entire application (from here), but from my understanding of this example, it's not suitable for switching the font through an onClick method.
Is there a way of doing this triggered by a button?