WebView is not filling the whole screen of device or emulator

前端 未结 3 858
情歌与酒
情歌与酒 2021-01-02 12:15

I am developing an android application which loads a web application when started. To achieve the purpose I am using webview control. I want my webview to be displayed full

相关标签:
3条回答
  • 2021-01-02 13:00

    just ad in manifest the following code:

    >

    <supports-screens android:smallScreens="true"
        android:normalScreens="true" android:largeScreens="true"
        android:anyDensity="true" />
    
    0 讨论(0)
  • 2021-01-02 13:01

    just remove the padding from your layout...

    0 讨论(0)
  • 2021-01-02 13:04

    mWebView.setWebChromeClient(new MyWebChromeClient());

    remove this java code from your activity.java file then se,

    0 讨论(0)
提交回复
热议问题