gpt4 book ai didi

android - 如何将android上的三点按钮更改为其他按钮

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:15:59 25 4
gpt4 key购买 nike

我想将 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>

原帖:How to change option menu icon in the action bar?

关于android - 如何将android上的三点按钮更改为其他按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30267758/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com