Changes

Jump to: navigation, search

Teams Winter 2011/team1/Android/Add Options Menu

326 bytes added, 13:35, 25 March 2011
no edit summary
4.4. Select ''Item'' and click OK. On the Android Menu screen specify the menu option Title and save the application:<br/>
[[Image: A_menu3.png | 500px]]<br/>
4.5. In the <code>ContactList</code> class override the <code>onCreateOptionsMenu()</code> method: <pre> @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.menu, menu); return super.onCreateOptionsMenu(menu); } </pre>4.6. Run the application and press the menu button. You should see newly added menu item:<br/>
[[Image: A_menu4.png | 450px]]<br/>
4.67. Repeat the same steps to add Delete Student, View Student and Send Email:<br/>
[[Image: A_menu5.png | 450px]]
1
edit

Navigation menu