WebView找不到网页,显示空白页问题解决

一、找不到网页

AndroidManifest.xml中的android:name="android.permission.INTERNET" />​权限写成大写的了

二、显示空白页

​android:layout_width="match_parent"

android:layout_height="match_parent"

android:id="@+id/web_view"

 

改成

​android:layout_width="match_parent"

android:layout_height="match_parent"

android:id="@+id/web_view"

android:layout_x="0.0dip"

android:layout_y="0.0dip"

android:layout_weight="1.0">

 

posted @ 2016-03-27 14:57  艳鬼  阅读(915)  评论(0编辑  收藏  举报