Yalantis/uCrop

Toolbar text and icon color is not getting changed

Open

#467 opened on Nov 2, 2018

View on GitHub
 (8 comments) (3 reactions) (0 assignees)Java (11,748 stars) (2,134 forks)batch import
help wanted

Description

My app is using different color than white for the text and icons which appears at the top of crop screen. I've tried to change the color using theme color change in style but no success. Can you please guide me how can i change the color of text color which appears on Toolbar here is the code of manifest:

<activity
            android:name="com.yalantis.ucrop.UCropActivity"
            android:screenOrientation="portrait"
            android:theme="@style/uCropStyle"></activity>

here is the style i've applied to chage the color:

<style name="uCropStyle" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="colorPrimaryDark">@color/black</item>
        <item name="colorAccent">@color/black</item>
        <item name="colorPrimary">@color/yellow</item>
        <item name="android:textColor">@color/black</item>
    </style>

Contributor guide