Skip to content

Commit 20a7612

Browse files
committed
docs: a couple doc bug fixes
Change-Id: I37b2adf9d30249eb9c0cbb007d9172d3956421b5
1 parent c7c7afd commit 20a7612

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/html/guide/topics/data/backup.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ onBackup()}.
445445
<p>For an example implementation of {@link android.app.backup.BackupAgent}, see the <a
446446
href="{@docRoot}resources/samples/BackupRestore/src/com/example/android/backuprestore/ExampleAgent.html">{@code
447447
ExampleAgent}</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
449449
application.</p>
450450
</div>
451451

docs/html/resources/tutorials/views/hello-webview.jd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
&lt;?xml version="1.0" encoding="utf-8"?>
15-
&lt;WebView
15+
&lt;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>

0 commit comments

Comments
 (0)