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; /*from w w w.j a v a 2s . c om*/ public class GridListMenuActivity extends MenuActivity { @Override /* * The code for all three of these is identical, except for the * class used for the layout in each. */ void prepareMenu() { addMenuItem("1. Grid w/Adapter", GridAdapterSampleActivity.class); addMenuItem("2. List w/Adapter", ListAdapterSampleActivity.class); } }