If I mark any text then the top white toolbar come here. But I want to set the top white toolbar on my custom toolbar (red toolbar).
How I can do that?
Thanks for your answer.
Try adding actionModeBackground
in your theme
<item name="actionModeBackground">@color/yourcolor</item>
For example,
<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="android:windowBackground" >@android:color/white</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="actionModeBackground">@color/yourcolor</item>
</style>