gpt4 book ai didi

android - 上下文操作栏 : Done button

转载 作者:行者123 更新时间:2023-11-30 03:32:06 25 4
gpt4 key购买 nike

有没有办法自定义图像或至少自定义下图左上角“完成”按钮的颜色?

Contextual Action Bar顺便说一句,我正在使用 ABS 来处理我的操作栏。

最佳答案

如果您查看 ActionBarSherlock 源代码中的 attrs.xml,您将看到以下属性:

    <!-- =================== -->
<!-- Action mode styles -->
<!-- =================== -->
<eat-comment />
<attr name="actionModeStyle" format="reference" />
<attr name="actionModeCloseButtonStyle" format="reference" />
<!-- Background drawable to use for action mode UI -->
<attr name="actionModeBackground" format="reference" />
<!-- Background drawable to use for action mode UI in the lower split bar -->
<attr name="actionModeSplitBackground" format="reference" />
<!-- Drawable to use for the close action mode button -->
<attr name="actionModeCloseDrawable" format="reference" />
<!-- Drawable to use for the Share action button in WebView selection action modes -->
<attr name="actionModeShareDrawable" format="reference" />

您可以在主题的 styles.xml 中使用 actionModeCloseDrawable 并添加要添加的图像。

关于android - 上下文操作栏 : Done button,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17281509/

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