Actually I set the textsize of a webview as follow:
WebSettings webSettings = mywebView.getSettings();
webSettings.setTextSize(WebSettings.TextSize.LARGEST);
I set the TextSize from WebSettings.TextSize.LARGEST
to WebSettings.TextSize.SALLEST
depending on settings in a options-gui, so the user can choose the Textsize.
Now the Question: But I think that WebSettings.TextSize.LARGEST is still too small on devices with a diagonal inch > 7.
So I want to scale the size a bit larger, but I don't know how to do this in a common way.
I mean I could set the DefaultFontSize of the webview directly, but I guess this will not scale correctly for all devices.
The question in code: I can't do:
webSettings.setTextSize(WebSettings.TextSize.LARGEST * 1.5f);
Any hints how you do this ?