html5 - Font Boosting Issue in Android Lollipop -
we noticed font boosting issue in android lollipop os. if user modifies font size in settings menu, application reloading if running , fonts modified based on selected font size in device settings.
if setting below metatag viewport, issue not exist in ios , android os < 5.0
> <meta name="viewport" content="width=device-width, initial-scale=1, > maximum-scale=1, user-scalable=no">
is there option resolve issue?????
note : 1. kind of issue not available in ios , android < 5.0. 2. there no issue thin application android >= 5.0 well. (only webpage reloading whenever there change in device font settings)
the issue getting resolved setting below value in webview. webview.getsettings().settextzoom(100);
root cause: android os < 5.0 textzoom having default value 100. in lollipop os, value taken font settings in device if not overwritten in application. if setting textzoom 100, font settings changes not affecting application.
Comments
Post a Comment