Android上的webview问题

我正在Android应用程序中使用webview。现在出现一个问题是我想把白色的滚动条颜色去掉,因为这页的背景颜色是黑色的。该如何实现这个功能? 谢谢

试一下这个解决方案,希望能给你帮助。
appView = (WebView) findViewById(R.id.appView);
appView.setVerticalScrollBarEnabled(false);
appView.setHorizontalScrollBarEnabled(false)

我这有一个隐藏android滚动条的方法,不知道对你适不适用

SetScrollbarFadingEnabled(true);

这条语句是当view不滚动的时候决定滚动条是否显示

不活动的时候隐藏,活动的时候显示

setVerticalScrollBarEnabled(true);  

不活动的时候隐藏,活动的时候也隐藏

<ScrollView android:layout_width="fill_parent"  
  android:layout_height="wrap_content" android:scrollbars="none">  
  <TextView android:id="@+id/showhtml" android:layout_width="fill_parent"  
     android:layout_height="wrap_content" />  
</ScrollView>  

android:scrollbars="none"

setVerticalScrollBarEnabled(true);  

效果一样

也可以在图像布局中添加属性 android:scrollbars="none"

http://download.csdn.net/album/detail/1121

android:scrollbars="none"
appView = (WebView) findViewById(R.id.appView);
appView.setVerticalScrollBarEnabled(false);
appView.setHorizontalScrollBarEnabled(false)

图片说明

android:layout_height="wrap_content" android:scrollbars="none">

android:layout_height="wrap_content" />

android:scrollbars="none"

setVerticalScrollBarEnabled(true);

效果一样

试一下这个解决方案,希望能给你帮助。
appView = (WebView) findViewById(R.id.appView);
appView.setVerticalScrollBarEnabled(false);
appView.setHorizontalScrollBarEnabled(false)

webView.setHorizontalScrollBarEnabled(false);//水平不显示

webView.setVerticalScrollBarEnabled(false); //垂直不显示