am 4cb8293b: am d59f1dea: Merge "docs: update notepad tutorial to change EditNote activity title and update codelab zip" into froyo

Merge commit '4cb8293bb3e611777cdc6c0a09410839c9dc161f' into gingerbread-plus-aosp

* commit '4cb8293bb3e611777cdc6c0a09410839c9dc161f':
  docs: update notepad tutorial to change EditNote activity title and update codelab zip
This commit is contained in:
Scott Main
2010-07-15 18:19:27 -07:00
committed by Android Git Automerger
2 changed files with 5 additions and 1 deletions

View File

@@ -393,7 +393,11 @@ case ACTIVITY_EDIT:
<pre>setContentView(R.layout.note_edit);</pre> <pre>setContentView(R.layout.note_edit);</pre>
</li> </li>
<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 <p>These are found by the
IDs associated to them in the R class, and need to be cast to the right 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, type of <code>View</code> (<code>EditText</code> for the two text views,