First of all, I'm trying a lot of examples that I've found here, but anything work for me.
At the moment, I can only change the color background of my Action Mode, but not the text color and the color of the icon to come back
Some help will be appreciated!
This is what I'm trying:
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="windowActionModeOverlay">true</item>
<item name="actionModeStyle">@style/Style.ActionMode</item>
</style>
<!-- *************************** Custom ActionMode Bar **************************************-->
<style name="Style.ActionMode" parent="@style/Widget.AppCompat.ActionMode">
<item name="background">@color/color_action_mode_bg</item>
<item name="android:backgroundSplit">?android:attr/actionModeSplitBackground</item>
<item name="android:height">?android:attr/actionBarSize</item>
<item name="android:titleTextStyle">@style/Stl.TitleTextStyle</item>
</style>
<style name="Stl.TitleTextStyle" parent="@style/Widget.AppCompat.ActionMode">
<item name="android:textColor">@color/colorPrimary</item>
</style>