Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7566171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:20:40+00:00 2026-05-30T14:20:40+00:00

i am trying to make an stylish option menu which with text and icons

  • 0

i am trying to make an stylish option menu which with text and icons close to this:

but i am still getting this:

http://img651.imageshack.us/img651/3007/resultax.th.png

Here is my code:

@Override
public boolean onCreateOptionsMenu(Menu menu) {
    MenuInflater inflater = getMenuInflater();
    inflater.inflate(R.menu.actionb_menu, menu);

    return true;
}

The actionb_menu.xml

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
    <item
         android:id="@+id/item1"
         android:title="ajouter"
         android:icon="@drawable/ic_action_plus" >

    </item>
    <item 
        android:id="@+id/item2" 
        android:title="rechercher" 
        android:icon="@drawable/ic_action_loupe">

    </item>
    <item 
        android:id="@+id/item3" 
        android:title="editer" 
        android:icon="@drawable/ic_action_crayon">

    </item>
    <item 
        android:id="@+id/item4" 
        android:title="supprimer" 
        android:icon="@drawable/ic_action_poubelle" >

    </item>
    <item 
        android:id="@+id/item5" 
        android:title="à propos"  
        android:icon="@drawable/ic_action_poubelle">

    </item>
    <item 
        android:id="@+id/item6" 
        android:title="Quitter"  
        android:icon="@drawable/call">        
    </item>

</menu>

any one can help please? any ideas hints??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T14:20:41+00:00Added an answer on May 30, 2026 at 2:20 pm

    Though this isn’t an actual answer to your specific question, you might try going about this a different way.

    What you get is the new type of Options Menu for Android ICS devices. What you say you want is the old style Options Menu from Pre-Honeycomb devices. Android is trying to phase this out however, along with the menu button.

    Instead, It is recommended you use an ActionBar. The design details of the Action Bar are covered heavily on the Android Design website.

    This would move your buttons up into the Top Bar, as it looks like you’re already trying to do from your screenshot. You could either go through the difficult steps (that I don’t know) to use ActionBar for newer devices and do something else for older devices – or you could use ActionBarSherlock to use the ActionBar for all Android devices. ActionBarSherlock’s website has more details and instructions for setting it up, and their github has code and samples of it in use.

    If instead what you want to do is truly get the old fashioned menu, you can change your TargetBuild to a lesser Android version. This is generally done in the properties for your project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im trying make one replace in string from a array but this dont work
I'm trying make a static text which if too long for the sizer, will
Im trying to make custom icons for my HTC EVO, which is running Cyanogen
I'm trying to make a stylish progress bar, but I'm having a problem with
Im trying make first person camera in my project. I followed this tutorial http://www.morrowland.com/apron/tutorials/gl/gl_camera_3b.zip
I'm trying make this code which is from a Dictionary of Arrays (CODE) from
I am fairly new to iOS development and trying make a simple app which
Trying to make this jQuery filter that uses .find case-insensitive. For example, when the
Trying to make a simple number clicker control for BlackBerry 6/7, like this: At
Trying to make a small countdown timer in my app but it's not working.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.