Android WebView content scaling -


I have the same application on two devices with different screen sizes, one is 1024x600 (180dpi), the other is 1280x800 (213dpi ) is. This app contains webviews with the dimension specified in pixels, on the first device it is slightly shorter. The problem is that when I load my custom HTML page, the page is right on the first device with a small screen and a webview, but with the big screen and big webview on the second screen, it is not fit. I hope the page is white After the vacancy, it will be fit for the second webview, because the page is fixed size and another device screen is large, how can it be decided?

HTML was on this line:

    

This was the reason that setInitialScale () did not work before.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -