diff options
| author | 2010-07-15 23:27:40 -0700 | |
|---|---|---|
| committer | 2010-07-15 23:27:40 -0700 | |
| commit | eb5d86f9d91e5dd5b728ece1d5e6f0d0846c2bce (patch) | |
| tree | fb94c16a8c80925f18ba4ef2d837501f44779fb7 | |
| parent | 5d66290d7892a71e69068a0b2f92864879aa29d6 (diff) | |
| parent | 7ccdfbee63ee482f294becbc5b5e5e1807fbda43 (diff) | |
am 7ccdfbee: am 4cb8293b: am d59f1dea: Merge "docs: update notepad tutorial to change EditNote activity title and update codelab zip" into froyo
Merge commit '7ccdfbee63ee482f294becbc5b5e5e1807fbda43'
* commit '7ccdfbee63ee482f294becbc5b5e5e1807fbda43':
docs: update notepad tutorial to change EditNote activity title and update codelab zip
| -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 502a326c3c1f..cd30f291587a 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 a945a62f7dae..289b5feb186b 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, |