Difference between revisions of "Teams Winter 2011/team1/Android/Edit Contact"

From CDOT Wiki
Jump to: navigation, search
(8. Edit Contact)
(8. Edit Contact)
Line 1: Line 1:
 
=== 8. Edit Contact ===
 
=== 8. Edit Contact ===
 
'''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/>
 +
<source lag="Java">
 +
<string name="editContact_textView">Edit Contact</string>
 +
<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 11:57, 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:
<source lag="Java"> <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
EditMenuOption.png
EditView.png
EditViewEdited.png
EditViewSaved.png