> I have a ListView with 5 items. Each of the items can be long pressed > to open a Context Menu. The Menu has 5 options and I want them to be > selectable, by having a check box. I know of the multiple choice > listview but was not sure how to have this checkbox feature in a > ContextMenu. > > Does anyone know if this is possible and if so, how?
Try setCheckable(true) on the MenuItem. I haven't tried this, but it's in the API... -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html -- 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

