Is it possible to change a local notification action button's title color?

PaulBrennerPaulBrenner USUniversity ✭✭

According to the Material Design Guidelines, the notification action button titles should be blue in Nougat, but in my app they are showing up as gray.

I can't find any information online on how to change the color.

Looking at the source code, I can see that it is setting the action button's color from "R.color.notification_action_color_filter". But adding that color to my styles.xml to override it doesn't seem to do anything.

I also tried setting a spannable string with a color on it as the action's title but that made no difference either.

Any ideas?

Thanks

Answers

  • PaulBrennerPaulBrenner USUniversity ✭✭

    The Android 7.1.1 update notification showed up with purple action buttons, so I know this is possible. Can anyone shoot me in the right direction?

Sign In or Register to comment.