KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to set the background of a webview to a drawable image resource in Android. From the sdk it seems something like this would work but it doesn't. WebView web = (WebView) findViewById(R.id.webView); web.setBackgroundResource(R.drawable.backgroundmain); web.loadData(profile, "text/html", "UTF-8"); Any idea's?
Tags (comma-separated)
Save Edits
Cancel