I want to show the "x" button instead of the default back arrow as the "home" button on toolbar. I have searched how to use a custom image and it works and I have searched how to use a specific color for the back arrow and it works. The problem is, when I put both the custom image and the custom color, it shows the image with its default color, black, when I want it to be blue.
This is the xml for the toolbar:
<android.support.v7.widget.Toolbar
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:id="@+id/toolbar"
android:theme="@style/ThemeToolbar">
And this is the ThemeToolbar style:
<style name="ThemeToolbarDetails" parent="Theme.AppCompat.Light">
<item name="colorControlNormal">@color/blue</item>
<item name="homeAsUpIndicator">@drawable/close</item>
</style>
I have tried colorControlNormal, android:textColorSecondary but none of this works when using a custom image.