diff options
author | Scott Main <smain@google.com> | 2010-06-17 10:07:25 -0700 |
---|---|---|
committer | Scott Main <smain@google.com> | 2010-06-17 10:07:25 -0700 |
commit | a99839cad7fa6f071154c38d2d49ec48298b4c8f (patch) | |
tree | 974d1c7744f9ca5c6710c155046b90306a7d188b /docs/html/resources/tutorials | |
parent | 5f11e95f0041e163e8aa9e429aec92c8ee942233 (diff) | |
download | frameworks_base-a99839cad7fa6f071154c38d2d49ec48298b4c8f.zip frameworks_base-a99839cad7fa6f071154c38d2d49ec48298b4c8f.tar.gz frameworks_base-a99839cad7fa6f071154c38d2d49ec48298b4c8f.tar.bz2 |
docs: update notepad tutorial to change EditNote activity title and update codelab zip
bug: 2762919
Change-Id: Iad1698893b949d921d2807730041e07694c06571
Diffstat (limited to 'docs/html/resources/tutorials')
-rw-r--r-- | docs/html/resources/tutorials/notepad/codelab/NotepadCodeLab.zip | bin | 88600 -> 93415 bytes | |||
-rw-r--r-- | docs/html/resources/tutorials/notepad/notepad-ex2.jd | 6 |
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/html/resources/tutorials/notepad/codelab/NotepadCodeLab.zip b/docs/html/resources/tutorials/notepad/codelab/NotepadCodeLab.zip Binary files differindex 502a326..cd30f29 100644 --- a/docs/html/resources/tutorials/notepad/codelab/NotepadCodeLab.zip +++ b/docs/html/resources/tutorials/notepad/codelab/NotepadCodeLab.zip 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: <pre>setContentView(R.layout.note_edit);</pre> </li> <li> - Find the edit and button components we need: + Change the Activity title to the "Edit Note" string: + <pre>setTitle(R.string.edit_note);</pre> + </li> + <li> + Find the {@link android.widget.EditText} and {@link android.widget.Button} components we need: <p>These are found by the IDs associated to them in the R class, and need to be cast to the right type of <code>View</code> (<code>EditText</code> for the two text views, |