html - android display large text fit to device width -
i have faced bit trouble displaying large text in webview. how implement gmail?
here webview configuration:
webview.getsettings().setlayoutalgorithm(websettings.layoutalgorithm.normal); webview.getsettings().setbuiltinzoomcontrols(true); webview.getsettings().setjavascriptenabled(true); webview.setmailaccountname(getarguments().getstring(extrasnames.mail_account_name)); webview.getsettings().setusewideviewport(true); //controls double tab zoom webview.setverticalscrollbarenabled(true); webview.setscrollcontainer(true); webview.addjavascriptinterface(new webappinterface(getactivity()), "scripttoandroid"); webview.getsettings().setdisplayzoomcontrols(false); //hide default zoom control webview.getsettings().setloadwithoverviewmode(true);
please me need display gmail, readable , usefull.
Comments
Post a Comment