I'd like my app to take advantage of accessbility options for the visually impaired. All of my lists, menu items and text views scale appropriately, but WebView does not.
I'm using WebSettings.setTextZoom to set the scale, but I need to access the global font size settings (on my phone it is Tiny, Small, Normal, Large, Huge).
How do I access Font Size from the device settings to scale WebView fonts accordingly?
Try getResources().getConfiguration().fontScale
(http://developer.android.com/reference/android/content/res/Configuration.html#fontScale)
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