ShareActionProvider的设置颜色 [英] Set color of ShareActionProvider

查看:211
本文介绍了ShareActionProvider的设置颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我定义为我的整个应用程序的颜色(深灰色),所以当我点击ShareActionProvider,一个黑色的列表中显示,但文本颜色为深灰色太(所以不是真的可见)。在动作条的文字是白色,但没有一个在列表中。

I defined a color for my whole app (a dark grey) and so when I click on the ShareActionProvider, a black list shows up but the text color is dark grey too (and so not really visible). The text in the ActionBar is white, but not the one in the list.

有什么办法,我可以设置不同的颜色(在styles.xml一些项目吗?)

Is there any way I can set a different color (some item in styles.xml ?)

感谢

推荐答案

自定义shareActionProvider最好的办法是专门为共享创建单独的菜单。请参阅此链接<一个href=\"http://stackoverflow.com/a/22192759/1237175\">http://stackoverflow.com/a/22192759/1237175

Best way to customize shareActionProvider is create separate menu specifically for Sharing. See this link http://stackoverflow.com/a/22192759/1237175

这篇关于ShareActionProvider的设置颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆