WebView的背景设置成透明

WebView的背景设置成透明的方法,使用语句setBackgroundColor(0);

WebView web = (WebView) findViewById(R.id.web);
web .setBackgroundColor(0);
web .setBackgroundResource(R.drawable.yourImage);
web.loadData(profile, "text/html", "UTF-8");
posted @ 2012-07-16 14:30  悬崖上的蒲公英  阅读(383)  评论(0编辑  收藏  举报