diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index a25955c..a3f257d 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -67,7 +67,7 @@
android:value="false"/>
+ android:resource="@drawable/ic_notification"/>
diff --git a/app/src/main/java/io/heckel/ntfy/msg/NotificationService.kt b/app/src/main/java/io/heckel/ntfy/msg/NotificationService.kt
index 830cb96..0eb3882 100644
--- a/app/src/main/java/io/heckel/ntfy/msg/NotificationService.kt
+++ b/app/src/main/java/io/heckel/ntfy/msg/NotificationService.kt
@@ -10,6 +10,7 @@ import android.media.RingtoneManager
import android.os.Build
import android.util.Log
import androidx.core.app.NotificationCompat
+import androidx.core.content.ContextCompat
import io.heckel.ntfy.R
import io.heckel.ntfy.data.Notification
import io.heckel.ntfy.data.Subscription
@@ -37,9 +38,11 @@ class NotificationService(val context: Context) {
val defaultSoundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION)
val notificationBuilder = NotificationCompat.Builder(context, CHANNEL_ID)
- .setSmallIcon(R.drawable.ic_notification_icon)
+ .setSmallIcon(R.drawable.ic_notification)
+ .setColor(ContextCompat.getColor(context, R.color.primaryColor))
.setContentTitle(title)
.setContentText(notification.message)
+ .setStyle(NotificationCompat.BigTextStyle().bigText(notification.message))
.setSound(defaultSoundUri)
.setContentIntent(pendingIntent) // Click target for notification
.setAutoCancel(true) // Cancel when notification is clicked
diff --git a/app/src/main/java/io/heckel/ntfy/msg/SubscriberService.kt b/app/src/main/java/io/heckel/ntfy/msg/SubscriberService.kt
index 20581ec..a9f574f 100644
--- a/app/src/main/java/io/heckel/ntfy/msg/SubscriberService.kt
+++ b/app/src/main/java/io/heckel/ntfy/msg/SubscriberService.kt
@@ -10,6 +10,7 @@ import android.os.PowerManager
import android.os.SystemClock
import android.util.Log
import androidx.core.app.NotificationCompat
+import androidx.core.content.ContextCompat
import io.heckel.ntfy.R
import io.heckel.ntfy.app.Application
import io.heckel.ntfy.data.ConnectionState
@@ -202,6 +203,7 @@ class SubscriberService : Service() {
}
return NotificationCompat.Builder(this, NOTIFICATION_CHANNEL_ID)
.setSmallIcon(R.drawable.ic_notification_instant)
+ .setColor(ContextCompat.getColor(this, R.color.primaryColor))
.setContentTitle(title)
.setContentText(text)
.setContentIntent(pendingIntent)
diff --git a/app/src/main/res/drawable-anydpi-v24/ic_notification_icon.xml b/app/src/main/res/drawable-anydpi-v24/ic_notification_icon.xml
deleted file mode 100644
index 214e225..0000000
--- a/app/src/main/res/drawable-anydpi-v24/ic_notification_icon.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/app/src/main/res/drawable-hdpi/ic_notification_icon.png b/app/src/main/res/drawable-hdpi/ic_notification_icon.png
deleted file mode 100644
index 8462cdd..0000000
Binary files a/app/src/main/res/drawable-hdpi/ic_notification_icon.png and /dev/null differ
diff --git a/app/src/main/res/drawable-mdpi/ic_notification_icon.png b/app/src/main/res/drawable-mdpi/ic_notification_icon.png
deleted file mode 100644
index 35f1fb4..0000000
Binary files a/app/src/main/res/drawable-mdpi/ic_notification_icon.png and /dev/null differ
diff --git a/app/src/main/res/drawable-xhdpi/ic_notification_icon.png b/app/src/main/res/drawable-xhdpi/ic_notification_icon.png
deleted file mode 100644
index 293af5e..0000000
Binary files a/app/src/main/res/drawable-xhdpi/ic_notification_icon.png and /dev/null differ
diff --git a/app/src/main/res/drawable-xxhdpi/ic_notification_icon.png b/app/src/main/res/drawable-xxhdpi/ic_notification_icon.png
deleted file mode 100644
index 2764d1e..0000000
Binary files a/app/src/main/res/drawable-xxhdpi/ic_notification_icon.png and /dev/null differ
diff --git a/app/src/main/res/drawable/ic_notification.xml b/app/src/main/res/drawable/ic_notification.xml
new file mode 100644
index 0000000..23a49ce
--- /dev/null
+++ b/app/src/main/res/drawable/ic_notification.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
diff --git a/app/src/main/res/drawable/ic_notification_instant.xml b/app/src/main/res/drawable/ic_notification_instant.xml
index 384b37d..36f84fe 100644
--- a/app/src/main/res/drawable/ic_notification_instant.xml
+++ b/app/src/main/res/drawable/ic_notification_instant.xml
@@ -1,25 +1,26 @@
+ android:width="50dp"
+ android:height="50dp"
+ android:viewportWidth="50"
+ android:viewportHeight="50">
+ android:pathData="m10.9661,15.6112l0,4.8516l7.3742,3.9002c0.0157,0.0077 0.0305,0.0128 0.0461,0.0204 -0.0157,0.0077 -0.0305,0.0128 -0.0461,0.0204l-7.3742,3.9002l0,4.8267l0.7961,-0.4333 11.1995,-6.0969l0,-4.463zM12.0931,17.6933 L21.8346,22.9981l0,2.7446l-9.7414,5.2999l0,-1.8679l6.6912,-3.5416 0.0084,-0.0051c0.1961,-0.0992 0.3826,-0.1724 0.5531,-0.2191l0.0127,0l0.0167,-0.0051c0.2034,-0.0691 0.3777,-0.1209 0.5279,-0.1545l1.0684,-0.1046l0,-1.4644l-0.5154,-0.0497c-0.1632,-0.0153 -0.3288,-0.0505 -0.4944,-0.0997l-0.0167,-0.0051 -0.0167,-0.0051c-0.1632,-0.0352 -0.3552,-0.0811 -0.5656,-0.1344 -0.1802,-0.0668 -0.3706,-0.1479 -0.5698,-0.2492l-0.0084,-0.0051 -6.6912,-3.5416z"
+ android:strokeWidth="0.525121"
+ android:fillColor="#338574"
+ android:strokeColor="#00000000"/>
diff --git a/assets/notification.svg b/assets/notification.svg
index 03fc734..c9a9224 100644
--- a/assets/notification.svg
+++ b/assets/notification.svg
@@ -2,16 +2,16 @@
diff --git a/assets/notification_instant.svg b/assets/notification_instant.svg
index 38cc745..850e4d0 100644
--- a/assets/notification_instant.svg
+++ b/assets/notification_instant.svg
@@ -2,16 +2,16 @@