You could show items in the options menu based on the selected item in the
gallery by using Activity's onPrepareOptionsMenu() method:
http://code.google.com/android/reference/android/app/Activity.html#onPrepareOptionsMenu(android.view.Menu)

You can get the selected item in the Gallery, and either:

- Have a single menu item, change the text to "Mark" or "Unmark" and change
the icon to a marked icon or an unmarked icon.
- Have two menu items, and hide the marked or unmarked one, and make the
other visible.

On Tue, Apr 15, 2008 at 8:55 PM, maddy <[EMAIL PROTECTED]> wrote:

>
> Hi All,
>
> I am trying to implement gallery with menu option what i want is to
> have mark and unmark menu with check
> box implementation. i want to dynamically change menu "Mark to Unmark
> " and vice versa. and when in gallery image change by left and right
> key press i want to reload menu options again . any idea
> guys.............
>
> Thanks In advance
> Saty
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Challenge" 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-challenge?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to