On Wed, Mar 9, 2011 at 8:03 AM, Raghav Sood <[email protected]> wrote: > I tried that too but it only works if I am checking only 1 of the > options. I can't ghet it to work with both of the options. Any ideas?
Use a more worthwhile add() method, one that takes an id. https://github.com/commonsguy/cw-android/tree/master/Menus/Menus Or, use menu XML resources instead of add() calls: https://github.com/commonsguy/cw-android/tree/master/Menus/Inflation Going the latter route will make it easier for you to support the action bar on Android 3.0+ while simultaneous using traditional menus on Android 1.x and 2.x. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training Worldwide: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

