1. Download our Official Android App: Forums for Android!

Apps onCreateOptionsMenu with ListviewActivity

Discussion in 'Android Development' started by XsCode, May 8, 2011.

  1. XsCode

    XsCode Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    7
    Joined:
    Jul 14, 2010

    Jul 14, 2010
    7
    0
    5
    I'm trying to learn Android Programming by making a simple listing app, but I've hit a brick wall very early in my learning.

    I have a new project in which I've put in a basic onCreateOptionsMenu sub which works fine. Then, because I want a listview in my GUI I change my activity to extend ListActivity, but this stops the onCreateOptionsMenu from triggering. I've googled for hours but turned up nothing.

    Am i missing something basic?

    TIA
     

    Advertisement

  2. XsCode

    XsCode Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    7
    Joined:
    Jul 14, 2010

    Jul 14, 2010
    7
    0
    5
    guess not?
     
  3. XsCode

    XsCode Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    7
    Joined:
    Jul 14, 2010

    Jul 14, 2010
    7
    0
    5

Share This Page

Loading...