Hey there i am trying to setup homeindicator in my action bar but looks like the arrow have a white color i've tried many things i've set a drawble as a home indicator but same issue it's white here's what i tried
supportActionBar?.setHomeAsUpIndicator(R.drawable.ic_baseline_arrow_back_24)
the theme i am using
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<item name="android:textColorSecondary">@android:color/black</item>
<item name="android:statusBarColor" tools:targetApi="l">@color/bar_color</item>
<item name="colorPrimary">@color/splashscreen_text_color</item>
<item name="colorOnPrimary">@color/black</item>
<item name="itemBackground">@color/black</item>
<item name="actionOverflowButtonStyle">@style/actionOverflowButtonStyle</item>
<item name="homeAsUpIndicator">@drawable/ic_baseline_arrow_back_24</item>
</style>
<style name="actionOverflowButtonStyle" parent="@style/Widget.AppCompat.ActionButton.Overflow">
<item name="android:tint">@color/black</item>
</style>
the result i am getting Result
what i am expecting: the expected result
the arrow drawble file
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="@color/black">
<path
android:fillColor="@android:color/black"
android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z"/>
</vector>