Android 5.0: how to change recent apps title color?

Christian Göllner picture Christian Göllner · Nov 13, 2014 · Viewed 18.1k times · Source

I'm using AppCompat and my theme is extending Theme.AppCompat.Light.DarkActionBar.

When in Android 5 Lollipop and I press the recent apps button, my app appears with a dark title instead of a white title in the ActionBar.

When I'm inside the app everything looks fine.

What can I do to change the title color in the recent apps view?

EDIT: just figured out that if I use a darker colorPrimary, the title becomes white. I still need a way to force the white title with the original color.

enter image description here

Answer

Chris Banes picture Chris Banes · Dec 30, 2014

You can't force the text color, it is auto generated (either white/black) based on your colorPrimary color.