Android webview 中添加背景
2013-06-25 10:22
357 查看
WebView webView = (WebView) findViewById(R.id.webview);
webView.setBackgroundResource(R.drawable.bg);
webView.setBackgroundColor(Color.argb(0, 0, 0, 0));
webView.loadUrl("file:///android_asset/gamehelp.html");
webView.setBackgroundResource(R.drawable.bg);
webView.setBackgroundColor(Color.argb(0, 0, 0, 0));
webView.loadUrl("file:///android_asset/gamehelp.html");
相关文章推荐
- android中TextView 添加ClickableSpan后点击选中文字背景问题
- Android基础---WebView添加基本的放大缩小功能以及为图片添加放大缩小功能
- Android webview背景设置为透明无效 拖动时背景闪烁黑色
- Android webview上传文件失败,添加混淆解决办法
- android 动态背景的实现以及SurfaceView中添加EditText控件
- Android webview背景设置为透明无效 拖动时背景闪烁黑色
- android webview 设置背景透明色
- Android WebView设置背景透明
- android webview 4.0设置背景透明
- Android webview背景设置为透明无效 拖动时背景闪烁黑色
- android-动态添加包含WebView的Fragment显示空白
- cocos2dx 3.6 webview背景透明(ios android)
- Android webview背景设置为透明无效
- android开发(36) Android WebView背景设置为透明
- Android WebView 如何给资源请求添加请求头
- 在WebView 中添加一个背景图片
- android webview内的post请求(点击按钮)添加header行不通
- android使用WebView时添加error.html
- Android编程实现WebView添加进度条的方法
- android 动态背景的实现以及SurfaceView中添加EditText控件