How can I programatically detect if "Large Text" accessibility option is enabled on Android?
if Large Text is set, android changes the font scale , so you can detect using
Configuration c = getResources().getConfiguration();
float scale = c.fontScale;
if scale is greater than 1 then it is large text.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With