From d16ee80ce920492482fe54548e5ecefb03ed77ad Mon Sep 17 00:00:00 2001 From: serso Date: Mon, 18 Apr 2016 10:55:46 +0200 Subject: [PATCH] New SVG icon for the notification --- .../calculator/floating/FloatingCalculatorService.java | 2 +- app/src/main/res/drawable/ic_calculator_white_24dp.xml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/ic_calculator_white_24dp.xml diff --git a/app/src/main/java/org/solovyev/android/calculator/floating/FloatingCalculatorService.java b/app/src/main/java/org/solovyev/android/calculator/floating/FloatingCalculatorService.java index ca58a8a5..b7d4d21a 100644 --- a/app/src/main/java/org/solovyev/android/calculator/floating/FloatingCalculatorService.java +++ b/app/src/main/java/org/solovyev/android/calculator/floating/FloatingCalculatorService.java @@ -171,7 +171,7 @@ public class FloatingCalculatorService extends Service implements FloatingViewLi private void showNotification() { final NotificationCompat.Builder builder = new NotificationCompat.Builder(this); - builder.setSmallIcon(R.drawable.kb_logo); + builder.setSmallIcon(R.drawable.ic_calculator_white_24dp); builder.setContentTitle(getText(R.string.c_app_name)); builder.setContentText(getString(R.string.open_onscreen_calculator)); builder.setOngoing(true); diff --git a/app/src/main/res/drawable/ic_calculator_white_24dp.xml b/app/src/main/res/drawable/ic_calculator_white_24dp.xml new file mode 100644 index 00000000..59bfef45 --- /dev/null +++ b/app/src/main/res/drawable/ic_calculator_white_24dp.xml @@ -0,0 +1,9 @@ + + +