didi.yeah wrote:
> Hi,
> 
> I created a basic options menu, here an example of creating an element
> of me menu :
> 
> menu.add(0, MENU_BACKWARD, 0, "").setIcon(R.drawable.btn_backward);
> 
> As you can see I don't want to show any text in this menu, just an
> icon !
> But when the menu is showed, there is a "ugly" blank under the icon
> (the text is supposed to be there)
> and I want to avoid this.
> A least if it's possible to center the icon the options menus, it will
> be great.

You will need to write your own logic to intercept the MENU keypress and
display something of your own design. Option menus have captions. Sorry!

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Beginning Android 2_ from Apress Now Available!

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

Reply via email to