如何更改操作栏的选项菜单图标?图标、选项、如何更改、菜单

由网友(绾.)分享简介:在蜂巢,当选项隐藏(不ifRoom),他们是在选项菜单中显示的微调。我只是想知道如何更改此选项的菜单图标(最右侧)。默认情况下,该图标仅仅是三线和3点在ICS。On Honeycomb, when the options are hidden (not ifRoom), they are displayed in...

在蜂巢,当选项隐藏(不ifRoom),他们是在选项菜单中显示的微调。 我只是想知道如何更改此选项的菜单图标(最右侧)。 默认情况下,该图标仅仅是三线和3点在ICS。

On Honeycomb, when the options are hidden (not ifRoom), they are displayed in a Spinner in an option menu. I simply would like to know how to change the icon of this option menu (furthest to the right). By default, the icon is just three lines and 3 dots on ICS.

谢谢!

推荐答案

查看更多属性从Android SDK安装在平台/ Android的-XX /数据/ RES /价值/ style.xml

See more attributes from your android sdk installation, in platforms/android-XX/data/res/values/style.xml

下面是菜单溢出操作按钮样式定义:

Here is menu overflow action button style definition:

<style name="Widget.Holo.ActionButton.Overflow">
    <item name="android:src">@android:drawable/ic_menu_moreoverflow_holo_dark</item>
    <item name="android:background">?android:attr/actionBarItemBackground</item>
    <item name="android:contentDescription">@string/action_menu_overflow_description</item>
</style>
阅读全文

相关推荐

最新文章