2015-05-15 15 views
0

目標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:怎麼了? enter image description here enter image description here

+0

set FULLSCREEN is working:requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow()。addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); – qinmiao

回答

0

在您的樣式添加機器人:windowActionBarOverlay你的主題,並將其設置爲false。這應該夠了吧。

+0

謝謝你們一樣,標題不是actionBar。 – qinmiao

+0

這既執行操作欄又執行底部欄。你嘗試過嗎? –