Difference between revisions of "Teams Winter 2011/team1/Android/Edit Contact"
Ladanzahir (talk | contribs) (→8. Edit Contact) |
Ladanzahir (talk | contribs) (→8. Edit Contact) |
||
Line 2: | Line 2: | ||
'''8.1 Create Edit Layout '''<br/> | '''8.1 Create Edit Layout '''<br/> | ||
8.1.1 Add the String value for the layout title to String.xml:<br/> | 8.1.1 Add the String value for the layout title to String.xml:<br/> | ||
− | <source lang=" | + | <source lang="Hhtml4strict"> |
<string name="editContact_textView">Edit Contact</string> | <string name="editContact_textView">Edit Contact</string> | ||
− | <source | + | </source> |
8.1.1 Right click on layout -> New -> Android XML File .<br/> | 8.1.1 Right click on layout -> New -> Android XML File .<br/> | ||
8.1.2 Enter edit.xml for the file name and check Layout:<br/> | 8.1.2 Enter edit.xml for the file name and check Layout:<br/> |
Revision as of 10:58, 7 April 2011
8. Edit Contact
8.1 Create Edit Layout
8.1.1 Add the String value for the layout title to String.xml:
<string name="editContact_textView">Edit Contact</string>
8.1.1 Right click on layout -> New -> Android XML File .
8.1.2 Enter edit.xml for the file name and check Layout:
8.1.3 Using Linear Layout, create this layout for editing contact information.
8.1.4 Here is the edit.xml implementation:
8.2 Create EditContactActivity
8.3 Add the EditContactActivity to the Android Manifest
8.4 Implement The EditContact in the main activity class
8.5 Edit Contact In action