diff --git a/app/src/main/java/com/codigoparallevar/minicards/bridge/ProgramakerBridgeService.java b/app/src/main/java/com/codigoparallevar/minicards/bridge/ProgramakerBridgeService.java index 9a884fb..e91887e 100644 --- a/app/src/main/java/com/codigoparallevar/minicards/bridge/ProgramakerBridgeService.java +++ b/app/src/main/java/com/codigoparallevar/minicards/bridge/ProgramakerBridgeService.java @@ -66,15 +66,16 @@ public class ProgramakerBridgeService extends Service { NotificationCompat.Builder builder = new NotificationCompat .Builder(this, ProgramakerBridgeService.BridgeStatusNotificationChannel) .setContentTitle(title) - .setSmallIcon(R.drawable.ic_vector_icon) .setPriority(NotificationCompat.PRIORITY_DEFAULT); if (stopped) { - builder.addAction(R.drawable.ic_start, getString(R.string.start_bridge), startPendingIntent); + builder.addAction(R.drawable.ic_start, getString(R.string.start_bridge), startPendingIntent) + .setSmallIcon(R.drawable.ic_vector_stopped_icon); } else { - builder.addAction(R.drawable.ic_cancel, getString(R.string.stop_bridge), stopPendingIntent); + builder.addAction(R.drawable.ic_cancel, getString(R.string.stop_bridge), stopPendingIntent) + .setSmallIcon(R.drawable.ic_vector_icon); } Notification notification = builder.build(); diff --git a/app/src/main/res/drawable/ic_vector_stopped_icon.xml b/app/src/main/res/drawable/ic_vector_stopped_icon.xml new file mode 100644 index 0000000..130730a --- /dev/null +++ b/app/src/main/res/drawable/ic_vector_stopped_icon.xml @@ -0,0 +1,16 @@ + + + + + diff --git a/asset-src/ic_vector_stopped_icon.svg b/asset-src/ic_vector_stopped_icon.svg new file mode 100644 index 0000000..b5637a2 --- /dev/null +++ b/asset-src/ic_vector_stopped_icon.svg @@ -0,0 +1,80 @@ + + + + + + image/svg+xml + + + + + + + + + + + + +