Yalantis/uCrop

Toolbar text and icon color is not getting changed

Open

#467 创建于 2018年11月2日

在 GitHub 查看
 (8 评论) (3 反应) (0 负责人)Java (2,134 fork)batch import
help wanted

仓库指标

Star
 (11,748 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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>

贡献者指南