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>

貢獻者指南