From 20a76125048e3f5f7c80dc232d4f5e04987250f4 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Wed, 2 Jun 2010 13:01:49 -0700 Subject: [PATCH] docs: a couple doc bug fixes Change-Id: I37b2adf9d30249eb9c0cbb007d9172d3956421b5 --- docs/html/guide/topics/data/backup.jd | 2 +- docs/html/resources/tutorials/views/hello-webview.jd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/html/guide/topics/data/backup.jd b/docs/html/guide/topics/data/backup.jd index 74117d6fae7c5..aad0f923c41d2 100644 --- a/docs/html/guide/topics/data/backup.jd +++ b/docs/html/guide/topics/data/backup.jd @@ -445,7 +445,7 @@ onBackup()}.

For an example implementation of {@link android.app.backup.BackupAgent}, see the {@code ExampleAgent} class in the Backup and Restore sample +href="{@docRoot}resources/samples/BackupRestore/index.html">Backup and Restore sample application.

diff --git a/docs/html/resources/tutorials/views/hello-webview.jd b/docs/html/resources/tutorials/views/hello-webview.jd index 17b26465749fd..2d07647382d0d 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.

  • Open the res/layout/main.xml file and insert the following:
     <?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 {
       
  • Then towards the end of the {@link android.app.Activity#onCreate(Bundle)} method, set an instance of the HelloWebViewClient as the {@link android.webkit.WebViewClient}: -
    mWebView.setWebViewClient(new WebViewClientDemo());
    +
    mWebView.setWebViewClient(new HelloWebViewClient());

    This line can go anywhere following the initialization of the {@link android.webkit.WebView} object.