[andorid] Fixed notification icon look

This commit is contained in:
Александр Зацепин 2018-04-04 19:24:06 +03:00 committed by Arsentiy Milchakov
parent 19552bfbeb
commit 62bffec3f9
6 changed files with 1 additions and 0 deletions

BIN
android/res/drawable-hdpi/ic_notification.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 976 B

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
android/res/drawable-mdpi/ic_notification.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 655 B

After

Width:  |  Height:  |  Size: 708 B

BIN
android/res/drawable-xhdpi/ic_notification.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
android/res/drawable-xxhdpi/ic_notification.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

@ -88,6 +88,7 @@ public final class Notifier
return new NotificationCompat.Builder(APP)
.setAutoCancel(true)
.setSmallIcon(R.drawable.ic_notification)
.setColor(APP.getResources().getColor(R.color.base_accent))
.setContentTitle(title)
.setContentText(content)
.setTicker(getTicker(title, content))