diff options
author | Scott Main <smain@google.com> | 2010-06-02 13:01:49 -0700 |
---|---|---|
committer | Scott Main <smain@google.com> | 2010-06-02 13:01:49 -0700 |
commit | 20a76125048e3f5f7c80dc232d4f5e04987250f4 (patch) | |
tree | 74f0e5918cc0581da84ed9f5d76367eadbe33b13 /docs/html/resources/tutorials | |
parent | c7c7afd7a1af36e787266815487f4600196406b8 (diff) | |
download | frameworks_base-20a76125048e3f5f7c80dc232d4f5e04987250f4.zip frameworks_base-20a76125048e3f5f7c80dc232d4f5e04987250f4.tar.gz frameworks_base-20a76125048e3f5f7c80dc232d4f5e04987250f4.tar.bz2 |
docs: a couple doc bug fixes
Change-Id: I37b2adf9d30249eb9c0cbb007d9172d3956421b5
Diffstat (limited to 'docs/html/resources/tutorials')
-rw-r--r-- | docs/html/resources/tutorials/views/hello-webview.jd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/resources/tutorials/views/hello-webview.jd b/docs/html/resources/tutorials/views/hello-webview.jd index 17b2646..2d07647 100644 --- a/docs/html/resources/tutorials/views/hello-webview.jd +++ b/docs/html/resources/tutorials/views/hello-webview.jd @@ -12,7 +12,7 @@ that can view and navigate web pages.</p> <li>Open the <code>res/layout/main.xml</code> file and insert the following: <pre> <?xml version="1.0" encoding="utf-8"?> -<WebView +<WebView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/webview" android:layout_width="fill_parent" android:layout_height="fill_parent" @@ -79,7 +79,7 @@ private class HelloWebViewClient extends WebViewClient { </li> <li>Then towards the end of the {@link android.app.Activity#onCreate(Bundle)} method, set an instance of the <code>HelloWebViewClient</code> as the {@link android.webkit.WebViewClient}: - <pre>mWebView.setWebViewClient(new WebViewClientDemo());</pre> + <pre>mWebView.setWebViewClient(new HelloWebViewClient());</pre> <p>This line can go anywhere following the initialization of the {@link android.webkit.WebView} object.</p> |