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 5: Line 5:
 
<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.2 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.3 Enter edit.xml for the file name and check Layout:<br/>
8.1.3 Using Linear Layout, create this layout for editing contact information.<br/>
+
8.1.4 Using Linear Layout, create this layout for editing contact information.<br/>
8.1.4 Here is the edit.xml implementation:
+
8.1.5 Here is the edit.xml implementation:
  
  

Revision as of 10:59, 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.2 Right click on layout -> New -> Android XML File .
8.1.3 Enter edit.xml for the file name and check Layout:
8.1.4 Using Linear Layout, create this layout for editing contact information.
8.1.5 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