forked from organicmaps/organicmaps
[andorid] Fixed notification icon look
This commit is contained in:
parent
19552bfbeb
commit
62bffec3f9
6 changed files with 1 additions and 0 deletions
android
res
drawable-hdpi
drawable-mdpi
drawable-xhdpi
drawable-xxhdpi
drawable-xxxhdpi
src/com/mapswithme/maps/background
BIN
android/res/drawable-hdpi/ic_notification.png
Executable file → Normal file
BIN
android/res/drawable-hdpi/ic_notification.png
Executable file → Normal file
Binary file not shown.
Before ![]() (image error) Size: 976 B After ![]() (image error) Size: 1.1 KiB ![]() ![]() |
BIN
android/res/drawable-mdpi/ic_notification.png
Executable file → Normal file
BIN
android/res/drawable-mdpi/ic_notification.png
Executable file → Normal file
Binary file not shown.
Before ![]() (image error) Size: 655 B After ![]() (image error) Size: 708 B ![]() ![]() |
BIN
android/res/drawable-xhdpi/ic_notification.png
Executable file → Normal file
BIN
android/res/drawable-xhdpi/ic_notification.png
Executable file → Normal file
Binary file not shown.
Before ![]() (image error) Size: 1.3 KiB After ![]() (image error) Size: 1.5 KiB ![]() ![]() |
BIN
android/res/drawable-xxhdpi/ic_notification.png
Executable file → Normal file
BIN
android/res/drawable-xxhdpi/ic_notification.png
Executable file → Normal file
Binary file not shown.
Before ![]() (image error) Size: 2.1 KiB After ![]() (image error) Size: 2.6 KiB ![]() ![]() |
BIN
android/res/drawable-xxxhdpi/ic_notification.png
Normal file
BIN
android/res/drawable-xxxhdpi/ic_notification.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 3.8 KiB |
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue