如何将ActionBar
Android Lollipop中的文本颜色从黑色更改为白色?
这是我目前的样式。
<style name="AppCustomTheme" parent="@style/Theme.AppCompat.Light">
<!-- colorPrimary is used for the default action bar background -->
<item name="colorPrimary">@color/orange_bar</item>
</style>
我已阅读更多内容并设法找到您需要添加此标签,才能更改Android Lollipop中的ActionBar默认颜色。
<!--textColorPrimary is used to change the text color of the default action bar-->
<item name="android:textColorPrimary">#FFFFFF</item>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句