Created
April 27, 2013 11:51
-
-
Save adamatan/5472828 to your computer and use it in GitHub Desktop.
Android Code snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Adding a WebView to an existing layout | |
| LinearLayout moviesLayout = (LinearLayout) findViewById(R.id.moviesLayout); | |
| WebView wv = new WebView(this); | |
| String html = "<html><body>You scored <b>192</b> points.</body></html>"; | |
| wv.loadData(html, "text/html", "UTF8"); | |
| moviesLayout.addView(wv); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment