Nougat RemoteInput:文本字段的颜色

Nougat RemoteInput: color of text field

我已经在我的应用程序中实现了 RemoteInput,但是文本字段区域显示为灰色背景,我希望它是蓝色的,如下所示:

有什么办法可以做到吗?

更新:看起来 colorPrimary 用于此,但我不想在整个应用程序中更改它,只是在通知中更改它

方法 setColor 正是我要找的。它还会更改图标和标题色调。

NotificationCompat.Builder(ctx)
    //....
    .setColor(ContextCompat.getColor(ctx, R.color.colorAccent))