Back to project page introToDroid4ed.
The source code is released under:
GNU General Public License
If you think the Android project introToDroid4ed listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.introtoandroid.advancedlayouts; //w w w . j a v a 2 s. c o m import android.view.Menu; public class AdvancedLayoutsActivity extends MenuActivity { public static final String DEBUG_TAG = "AdvancedLayoutsActivity"; @Override void prepareMenu() { addMenuItem("1. Basic Layout", BasicLayoutActivity.class); addMenuItem("2. List Layout", MyListActivity.class); addMenuItem("3. GridView", GridLayoutActivity.class); addMenuItem("4. Adapters", AdaptersActivity.class); addMenuItem("5. Styles", StyleSamplesActivity.class); addMenuItem("6. Grid, List", GridListMenuActivity.class); addMenuItem("7. Dialog", DialogActivity.class); } @Override public boolean onCreateOptionsMenu(Menu menu) { // TODO Auto-generated method stub getMenuInflater().inflate(R.menu.advanced_layouts, menu); super.onCreateOptionsMenu(menu); return true; } }