Yalantis/uCrop

Toolbar text and icon color is not getting changed

Open

#467 ouverte le 2 nov. 2018

Voir sur GitHub
 (8 commentaires) (3 réactions) (0 assignés)Java (2 134 forks)batch import
help wanted

Métriques du dépôt

Stars
 (11 748 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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>

Guide contributeur