目標URL:http://www.bong.cn/dafeiji/的Android的WebView HEIGH包括「導航欄」的喚起注意
佈局文件:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/header"/>
<WebView
android:id="@+id/Webview"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
上nexus5 Android5.1:怎麼了?
set FULLSCREEN is working:requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow()。addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); – qinmiao