darsh2 / MultipleImageSelect

Android library that provides for multiple image selection.
Apache License 2.0
300 stars 112 forks source link

Changing the text colour of "ADD" #29

Open sankar4n opened 8 years ago

sankar4n commented 8 years ago

Hi,

I am trying to change the text colour of String "ADD" in the toolbar. could you please help me in this?

Thanks, Sankaran

darsh2 commented 8 years ago

I think you might have to specify a custom action mode style in styles.xml of your app. So the change would probably be something like:

In your app's styles.xml:

<style name="..." parent="...">
    <item name="actionModeStyle">@style/CustomActionModeStyle1</item>
</style>

<style name="CustomActionModeStyle1" parent="Base.Widget.AppCompat.ActionMode">
    <item name="android:textColorPrimary">@color/desired_color</item>
    <item name="textColorPrimary">@color/desired_color</item>
</style>
Siddhant-Dawaibox commented 7 years ago

No its not getting happened with this also. Any other help that you can suggest

cuijianzhi commented 7 years ago

add below line in res: <color name="multiple_image_select_toolbarPrimaryText">@android:color/black</color>