android中webview显示html文件的时候右边的边框有办法去掉吗?
我在做项目的时候发现webview显示一个html文件的时候,右边总是有一个白色的边框,不太好看,我试了一下好像对我这样水平的还很麻烦,所以来这里请教高手,有什么方法可以吧这个边框去掉。拜托。
[解决办法]
邮箱地址给你了 个人消息里面
[解决办法]
路过学习下,
[解决办法]
- Java code
<WebView android:id="@+id/webview" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1" />
[解决办法]
不上图 不好看问题啊
[解决办法]
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<EditText android:id="@+id/EditText01" android:layout_height="wrap_content"
android:text="http://www.baidu.com" android:layout_width="fill_parent"></EditText>
<Button android:text="Go" android:id="@+id/Button01"
android:layout_width="wrap_content" android:layout_height="wrap_content"></Button>
<ProgressBar android:id="@+id/ProgressBar01"
android:layout_height="wrap_content" android:layout_width="fill_parent"
style="?android:attr/progressBarStyleHorizontal">
</ProgressBar>
<TextView android:id="@+id/TextView01" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:text="TextView01"></TextView>
<WebView android:id="@+id/webview" android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>
没有发现边框