2015-05-15 16 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

这既执行操作栏又执行底部栏。你尝试过吗? –