am 435959e7: am f0f2aba8: Merge "update notepad tutorial to change activity title in NoteEdit class" into froyo
Merge commit '435959e72b623a41ff4384862b924102dd7a1bc6' into gingerbread-plus-aosp * commit '435959e72b623a41ff4384862b924102dd7a1bc6': update notepad tutorial to change activity title in NoteEdit class
This commit is contained in:
@@ -33,6 +33,7 @@ public class NoteEdit extends Activity {
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.note_edit);
|
||||
setTitle(R.string.edit_note);
|
||||
|
||||
mTitleText = (EditText) findViewById(R.id.title);
|
||||
mBodyText = (EditText) findViewById(R.id.body);
|
||||
|
||||
@@ -33,6 +33,7 @@ public class NoteEdit extends Activity {
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.note_edit);
|
||||
setTitle(R.string.edit_note);
|
||||
|
||||
mTitleText = (EditText) findViewById(R.id.title);
|
||||
mBodyText = (EditText) findViewById(R.id.body);
|
||||
|
||||
@@ -37,6 +37,7 @@ public class NoteEdit extends Activity {
|
||||
mDbHelper.open();
|
||||
|
||||
setContentView(R.layout.note_edit);
|
||||
setTitle(R.string.edit_note);
|
||||
|
||||
mTitleText = (EditText) findViewById(R.id.title);
|
||||
mBodyText = (EditText) findViewById(R.id.body);
|
||||
|
||||
Reference in New Issue
Block a user