Changes

Jump to: navigation, search

Teams Winter 2011/team1/Android/Edit Contact

663 bytes added, 13:32, 7 April 2011
8.1 Create Edit Layout
== 8. Edit Contact ==
===8.1 Create Edit Layoutand Menu Item===
8.1.1 Add the String value for the layout title to String.xml:===
<source lang="java">
</LinearLayout>
</source>
8.1.6Now Add the Edit menu Item. for this purpose click on menu.xml and brouse to the xml view, and add the menu item. Here is how it looks like:<source lang="java"><?xml version="1.0" encoding="utf-8"?><menu xmlns:android="http://schemas.android.com/apk/res/android"> <item android:id="@+id/item1" android:title="Add Student"></item> <item android:id="@+id/item2" android:title="Delete Student"></item> <item android:id="@+id/item3" android:title="View Student"></item> <item android:id="@+id/item4" android:title="Edit Student"></item> <item android:id="@+id/item5" android:title="Send E-mail"></item></menu></source>  8.1.. Now build your project so that the ids are generated in R.java
===8.2 Create EditContactActivity===
1
edit

Navigation menu