Android Question activity menu

Discussion in 'Android Questions' started by jayel, Apr 19, 2015.

  1. jayel

    jayel Active Member Licensed User

    Hello,

    I know that when you have to add a menuitem, it is done in the Activity_Create event.
    Is there a way (new lib, or ...) that will let you add menu items when you for example click a button?
     
  2. DonManfred

    DonManfred Expert Licensed User

    Code:
    Sub button_click
        
    Activity.AddMenuItem("Title","menutitle")
    End Sub
    ?
     
  3. jayel

    jayel Active Member Licensed User

    No, like I said above, normally the only way to add menu items is in the Activity_Create event.
    Or is this working for you?
     
  4. DonManfred

    DonManfred Expert Licensed User

    I did´nt try but that´s what i would try first.
    Your question suggest me it dont work.

    Then you maybe need a custom menu where you can add/change menuitems at runtime.
    I have in mind there is one (or more) but i dont remember the name.
     
  5. jayel

    jayel Active Member Licensed User

    OK, maybe somebosy else who knows the name of a custom menu?
     
  6. DonManfred

    DonManfred Expert Licensed User

  7. fixit30

    fixit30 Active Member Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice