We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80fa5c8 + a99839c commit d59f1deCopy full SHA for d59f1de
docs/html/resources/tutorials/notepad/codelab/NotepadCodeLab.zip
4.7 KB
docs/html/resources/tutorials/notepad/notepad-ex2.jd
@@ -393,7 +393,11 @@ case ACTIVITY_EDIT:
393
<pre>setContentView(R.layout.note_edit);</pre>
394
</li>
395
<li>
396
- Find the edit and button components we need:
+ Change the Activity title to the "Edit Note" string:
397
+ <pre>setTitle(R.string.edit_note);</pre>
398
+ </li>
399
+ <li>
400
+ Find the {@link android.widget.EditText} and {@link android.widget.Button} components we need:
401
<p>These are found by the
402
IDs associated to them in the R class, and need to be cast to the right
403
type of <code>View</code> (<code>EditText</code> for the two text views,
0 commit comments