ActionBar menu appearing 2 times one at top and second at bottom

Posted by Ripal Tamboli on Stack Overflow See other posts from Stack Overflow or by Ripal Tamboli
Published on 2013-10-18T09:53:00Z Indexed on 2013/10/18 9:53 UTC
Read the original article Hit count: 167

Filed under:
|

In my application appearing very strange problem.

I am using Action Bar with the help of "import android.support.v7.app.ActionBar; import android.support.v7.app.ActionBarActivity;"

Now issue is same menu appearing two times. one is at top and second is at bottom. I want that menu at only top area.

Below is the screenshot for your reference.

enter image description here

My code for setting Action Bar is here:

ActionBar actionBar = getSupportActionBar();
        actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
        actionBar.setDisplayShowTitleEnabled(true);

        actionBar.setTitle(title);

        if(isBackToHome)
            actionBar.setDisplayHomeAsUpEnabled(true);
        else{
            actionBar.setDisplayHomeAsUpEnabled(false);
            actionBar.setHomeButtonEnabled(false);
        }

© Stack Overflow or respective owner

Related posts about android

Related posts about android-actionbar