For some reason, I cannot make this simple concept of working on wearing Android. I want the Wear notification to have a solid background color with the color of my choice. This is what I am trying to do:
NotificationCompat.Builder builder = new NotificationCompat.Builder(this); builder .setContentTitle("title") .setSmallIcon(R.mipmap.ic_launcher) .setContentText("Text") .setColor(Color.YELLOW); Notification notification = builder.build(); notificationManager.notify(123456, notification);
As you can see, I set the notification color to yellow. And this sets the notification background light to yellow on the phone. But for some reason, the background color in the notification that I see on Android Wear is green. See Attached Screenshots.


I tried expanding the notification builder using WearableExtender, but it does not have the "setColor" method, only "setBackground". Why does Wear ignore the specified notification color? And where does that green background color come from? How to override this color?
source share