From a99839cad7fa6f071154c38d2d49ec48298b4c8f Mon Sep 17 00:00:00 2001 From: Scott Main Date: Thu, 17 Jun 2010 10:07:25 -0700 Subject: docs: update notepad tutorial to change EditNote activity title and update codelab zip bug: 2762919 Change-Id: Iad1698893b949d921d2807730041e07694c06571 --- .../tutorials/notepad/codelab/NotepadCodeLab.zip | Bin 88600 -> 93415 bytes .../html/resources/tutorials/notepad/notepad-ex2.jd | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'docs/html/resources/tutorials') diff --git a/docs/html/resources/tutorials/notepad/codelab/NotepadCodeLab.zip b/docs/html/resources/tutorials/notepad/codelab/NotepadCodeLab.zip index 502a326..cd30f29 100644 Binary files a/docs/html/resources/tutorials/notepad/codelab/NotepadCodeLab.zip and b/docs/html/resources/tutorials/notepad/codelab/NotepadCodeLab.zip differ diff --git a/docs/html/resources/tutorials/notepad/notepad-ex2.jd b/docs/html/resources/tutorials/notepad/notepad-ex2.jd index a945a62..289b5fe 100644 --- a/docs/html/resources/tutorials/notepad/notepad-ex2.jd +++ b/docs/html/resources/tutorials/notepad/notepad-ex2.jd @@ -393,7 +393,11 @@ case ACTIVITY_EDIT:
setContentView(R.layout.note_edit);
  • - Find the edit and button components we need: + Change the Activity title to the "Edit Note" string: +
    setTitle(R.string.edit_note);
    +
  • +
  • + Find the {@link android.widget.EditText} and {@link android.widget.Button} components we need:

    These are found by the IDs associated to them in the R class, and need to be cast to the right type of View (EditText for the two text views, -- cgit v1.1