Skip to content Skip to sidebar Skip to footer

Android Wear Bundled Notifications And Background Images

I'd like to setup an android wear app that extends push notifications by stacking multiple notifications and then displaying different background images and action on each stacked

Solution 1:

I've just played with this a little bit and I'm afraid that having different backgrounds in one group is simply not possible. It doesn't matter if you have just a group of notifications or group of notifications with pages - there will be only one background for entire stack. If you will disable the setGroup line everything will work fine with backgrounds - you will have different backgrounds on first page.

BTW. To set a background for particular notification just make use of WearableExtender:

.extend(new NotificationCompat.WearableExtender().setBackground(trendImage))

instead of applying largeIcon or BigPictureStyle. But this doesn't solve your problem with groups of course.

Post a Comment for "Android Wear Bundled Notifications And Background Images"