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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -