File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
resources/tutorials/views Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ onBackup()}.
445445<p>For an example implementation of {@link android.app.backup.BackupAgent}, see the <a
446446href="{@docRoot}resources/samples/BackupRestore/src/com/example/android/backuprestore/ExampleAgent.html">{@code
447447ExampleAgent}</a> class in the <a
448- href="{@docRoot}} resources/samples/BackupRestore/index.html">Backup and Restore</a> sample
448+ href="{@docRoot}resources/samples/BackupRestore/index.html">Backup and Restore</a> sample
449449application.</p>
450450</div>
451451
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ that can view and navigate web pages.</p>
1212 <li>Open the <code>res/layout/main.xml</code> file and insert the following:
1313<pre>
1414<?xml version="1.0" encoding="utf-8"?>
15- <WebView
15+ <WebView xmlns:android="http://schemas.android.com/apk/res/android"
1616 android:id="@+id/webview"
1717 android:layout_width="fill_parent"
1818 android:layout_height="fill_parent"
@@ -79,7 +79,7 @@ private class HelloWebViewClient extends WebViewClient {
7979 </li>
8080 <li>Then towards the end of the {@link android.app.Activity#onCreate(Bundle)} method, set an
8181 instance of the <code>HelloWebViewClient</code> as the {@link android.webkit.WebViewClient}:
82- <pre>mWebView.setWebViewClient(new WebViewClientDemo ());</pre>
82+ <pre>mWebView.setWebViewClient(new HelloWebViewClient ());</pre>
8383
8484 <p>This line can go anywhere following the initialization of the {@link
8585 android.webkit.WebView} object.</p>
You can’t perform that action at this time.
0 commit comments