我想将 Android 上的三点按钮更改为其他按钮,即“添加”按钮。怎么做?我已经更改了在我的 drawable 中设置按钮,但它一直提示三点按钮。
谢谢
最佳答案
抱歉,我不能作为评论回复,但我猜你想更改操作栏溢出菜单图标。如果是这样,您可以在 styles.xml 中完成。
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
<item name="android:actionOverflowButtonStyle">@style/MyActionButtonOverflow</item>
</style>
<!-- Style to replace actionbar overflow icon. set item 'android:actionOverflowButtonStyle' in AppTheme -->
<style name="MyActionButtonOverflow" parent="android:style/Widget.Holo.Light.ActionButton.Overflow">
<item name="android:src">@drawable/ic_launcher</item>
</style>
关于android - 如何将android上的三点按钮更改为其他按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30267758/