Browse Source

update app icons

main
Distopico Vegan 6 years ago
parent
commit
b8db9ebf58
54 changed files with 9 additions and 6 deletions
  1. +3
    -2
      app/src/main/java/org/dystopia/email/ServiceSynchronize.java
  2. BIN
      app/src/main/res/drawable-hdpi/baseline_email_black_18.png
  3. BIN
      app/src/main/res/drawable-hdpi/baseline_email_black_24.png
  4. BIN
      app/src/main/res/drawable-hdpi/baseline_email_black_36.png
  5. BIN
      app/src/main/res/drawable-hdpi/baseline_email_black_48.png
  6. BIN
      app/src/main/res/drawable-hdpi/baseline_email_white_18.png
  7. BIN
      app/src/main/res/drawable-hdpi/baseline_email_white_24.png
  8. BIN
      app/src/main/res/drawable-hdpi/baseline_email_white_36.png
  9. BIN
      app/src/main/res/drawable-hdpi/baseline_email_white_48.png
  10. BIN
      app/src/main/res/drawable-hdpi/ic_mail_icon.png
  11. BIN
      app/src/main/res/drawable-mdpi/baseline_email_black_18.png
  12. BIN
      app/src/main/res/drawable-mdpi/baseline_email_black_24.png
  13. BIN
      app/src/main/res/drawable-mdpi/baseline_email_black_36.png
  14. BIN
      app/src/main/res/drawable-mdpi/baseline_email_black_48.png
  15. BIN
      app/src/main/res/drawable-mdpi/baseline_email_white_18.png
  16. BIN
      app/src/main/res/drawable-mdpi/baseline_email_white_24.png
  17. BIN
      app/src/main/res/drawable-mdpi/baseline_email_white_36.png
  18. BIN
      app/src/main/res/drawable-mdpi/baseline_email_white_48.png
  19. BIN
      app/src/main/res/drawable-mdpi/ic_mail_icon.png
  20. BIN
      app/src/main/res/drawable-xhdpi/baseline_email_black_18.png
  21. BIN
      app/src/main/res/drawable-xhdpi/baseline_email_black_24.png
  22. BIN
      app/src/main/res/drawable-xhdpi/baseline_email_black_36.png
  23. BIN
      app/src/main/res/drawable-xhdpi/baseline_email_black_48.png
  24. BIN
      app/src/main/res/drawable-xhdpi/baseline_email_white_18.png
  25. BIN
      app/src/main/res/drawable-xhdpi/baseline_email_white_24.png
  26. BIN
      app/src/main/res/drawable-xhdpi/baseline_email_white_36.png
  27. BIN
      app/src/main/res/drawable-xhdpi/baseline_email_white_48.png
  28. BIN
      app/src/main/res/drawable-xhdpi/ic_mail_icon.png
  29. BIN
      app/src/main/res/drawable-xxhdpi/baseline_email_black_18.png
  30. BIN
      app/src/main/res/drawable-xxhdpi/baseline_email_black_24.png
  31. BIN
      app/src/main/res/drawable-xxhdpi/baseline_email_black_36.png
  32. BIN
      app/src/main/res/drawable-xxhdpi/baseline_email_black_48.png
  33. BIN
      app/src/main/res/drawable-xxhdpi/baseline_email_white_18.png
  34. BIN
      app/src/main/res/drawable-xxhdpi/baseline_email_white_24.png
  35. BIN
      app/src/main/res/drawable-xxhdpi/baseline_email_white_36.png
  36. BIN
      app/src/main/res/drawable-xxhdpi/baseline_email_white_48.png
  37. BIN
      app/src/main/res/drawable-xxhdpi/ic_mail_icon.png
  38. BIN
      app/src/main/res/drawable-xxxhdpi/baseline_email_black_18.png
  39. BIN
      app/src/main/res/drawable-xxxhdpi/baseline_email_black_24.png
  40. BIN
      app/src/main/res/drawable-xxxhdpi/baseline_email_black_36.png
  41. BIN
      app/src/main/res/drawable-xxxhdpi/baseline_email_black_48.png
  42. BIN
      app/src/main/res/drawable-xxxhdpi/baseline_email_white_18.png
  43. BIN
      app/src/main/res/drawable-xxxhdpi/baseline_email_white_24.png
  44. BIN
      app/src/main/res/drawable-xxxhdpi/baseline_email_white_36.png
  45. BIN
      app/src/main/res/drawable-xxxhdpi/baseline_email_white_48.png
  46. BIN
      app/src/main/res/drawable-xxxhdpi/ic_mail_icon.png
  47. +4
    -3
      app/src/main/res/layout/widget.xml
  48. BIN
      app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
  49. BIN
      app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
  50. BIN
      app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
  51. BIN
      app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
  52. BIN
      app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
  53. +1
    -0
      app/src/main/res/values/dimens.xml
  54. +1
    -1
      app/src/main/res/xml/widget.xml

+ 3
- 2
app/src/main/java/org/dystopia/email/ServiceSynchronize.java View File

@ -368,12 +368,13 @@ public class ServiceSynchronize extends LifecycleService {
builder = new Notification.Builder(this, "notification");
builder
.setSmallIcon(R.drawable.baseline_email_white_24)
.setSmallIcon(R.drawable.ic_mail_icon)
.setContentTitle(getResources().getQuantityString(R.plurals.title_notification_unseen, messages.size(), messages.size()))
.setContentText("")
.setContentIntent(piView)
.setNumber(messages.size())
.setShowWhen(false)
.setColor(ContextCompat.getColor(getBaseContext(), R.color.colorPrimary))
.setDeleteIntent(piClear)
.setPriority(Notification.PRIORITY_DEFAULT)
.setCategory(Notification.CATEGORY_STATUS)
@ -449,7 +450,7 @@ public class ServiceSynchronize extends LifecycleService {
mbuilder
.addExtras(args)
.setSmallIcon(R.drawable.baseline_mail_24)
.setSmallIcon(R.drawable.ic_stat_name)
.setContentTitle(MessageHelper.getFormattedAddresses(message.from, true))
.setContentIntent(piContent)
.setSound(uri)


BIN
app/src/main/res/drawable-hdpi/baseline_email_black_18.png View File

Before After
Width: 27  |  Height: 27  |  Size: 267 B

BIN
app/src/main/res/drawable-hdpi/baseline_email_black_24.png View File

Before After
Width: 36  |  Height: 36  |  Size: 269 B

BIN
app/src/main/res/drawable-hdpi/baseline_email_black_36.png View File

Before After
Width: 54  |  Height: 54  |  Size: 373 B

BIN
app/src/main/res/drawable-hdpi/baseline_email_black_48.png View File

Before After
Width: 72  |  Height: 72  |  Size: 421 B

BIN
app/src/main/res/drawable-hdpi/baseline_email_white_18.png View File

Before After
Width: 27  |  Height: 27  |  Size: 262 B

BIN
app/src/main/res/drawable-hdpi/baseline_email_white_24.png View File

Before After
Width: 36  |  Height: 36  |  Size: 268 B

BIN
app/src/main/res/drawable-hdpi/baseline_email_white_36.png View File

Before After
Width: 54  |  Height: 54  |  Size: 368 B

BIN
app/src/main/res/drawable-hdpi/baseline_email_white_48.png View File

Before After
Width: 72  |  Height: 72  |  Size: 419 B

BIN
app/src/main/res/drawable-hdpi/ic_mail_icon.png View File

Before After
Width: 36  |  Height: 36  |  Size: 807 B

BIN
app/src/main/res/drawable-mdpi/baseline_email_black_18.png View File

Before After
Width: 18  |  Height: 18  |  Size: 189 B

BIN
app/src/main/res/drawable-mdpi/baseline_email_black_24.png View File

Before After
Width: 24  |  Height: 24  |  Size: 203 B

BIN
app/src/main/res/drawable-mdpi/baseline_email_black_36.png View File

Before After
Width: 36  |  Height: 36  |  Size: 269 B

BIN
app/src/main/res/drawable-mdpi/baseline_email_black_48.png View File

Before After
Width: 48  |  Height: 48  |  Size: 325 B

BIN
app/src/main/res/drawable-mdpi/baseline_email_white_18.png View File

Before After
Width: 18  |  Height: 18  |  Size: 185 B

BIN
app/src/main/res/drawable-mdpi/baseline_email_white_24.png View File

Before After
Width: 24  |  Height: 24  |  Size: 209 B

BIN
app/src/main/res/drawable-mdpi/baseline_email_white_36.png View File

Before After
Width: 36  |  Height: 36  |  Size: 268 B

BIN
app/src/main/res/drawable-mdpi/baseline_email_white_48.png View File

Before After
Width: 48  |  Height: 48  |  Size: 322 B

BIN
app/src/main/res/drawable-mdpi/ic_mail_icon.png View File

Before After
Width: 24  |  Height: 24  |  Size: 504 B

BIN
app/src/main/res/drawable-xhdpi/baseline_email_black_18.png View File

Before After
Width: 36  |  Height: 36  |  Size: 269 B

BIN
app/src/main/res/drawable-xhdpi/baseline_email_black_24.png View File

Before After
Width: 48  |  Height: 48  |  Size: 325 B

BIN
app/src/main/res/drawable-xhdpi/baseline_email_black_36.png View File

Before After
Width: 72  |  Height: 72  |  Size: 421 B

BIN
app/src/main/res/drawable-xhdpi/baseline_email_black_48.png View File

Before After
Width: 96  |  Height: 96  |  Size: 533 B

BIN
app/src/main/res/drawable-xhdpi/baseline_email_white_18.png View File

Before After
Width: 36  |  Height: 36  |  Size: 268 B

BIN
app/src/main/res/drawable-xhdpi/baseline_email_white_24.png View File

Before After
Width: 48  |  Height: 48  |  Size: 322 B

BIN
app/src/main/res/drawable-xhdpi/baseline_email_white_36.png View File

Before After
Width: 72  |  Height: 72  |  Size: 419 B

BIN
app/src/main/res/drawable-xhdpi/baseline_email_white_48.png View File

Before After
Width: 96  |  Height: 96  |  Size: 532 B

BIN
app/src/main/res/drawable-xhdpi/ic_mail_icon.png View File

Before After
Width: 48  |  Height: 48  |  Size: 1.3 KiB

BIN
app/src/main/res/drawable-xxhdpi/baseline_email_black_18.png View File

Before After
Width: 54  |  Height: 54  |  Size: 373 B

BIN
app/src/main/res/drawable-xxhdpi/baseline_email_black_24.png View File

Before After
Width: 72  |  Height: 72  |  Size: 421 B

BIN
app/src/main/res/drawable-xxhdpi/baseline_email_black_36.png View File

Before After
Width: 108  |  Height: 108  |  Size: 587 B

BIN
app/src/main/res/drawable-xxhdpi/baseline_email_black_48.png View File

Before After
Width: 144  |  Height: 144  |  Size: 769 B

BIN
app/src/main/res/drawable-xxhdpi/baseline_email_white_18.png View File

Before After
Width: 54  |  Height: 54  |  Size: 368 B

BIN
app/src/main/res/drawable-xxhdpi/baseline_email_white_24.png View File

Before After
Width: 72  |  Height: 72  |  Size: 419 B

BIN
app/src/main/res/drawable-xxhdpi/baseline_email_white_36.png View File

Before After
Width: 108  |  Height: 108  |  Size: 585 B

BIN
app/src/main/res/drawable-xxhdpi/baseline_email_white_48.png View File

Before After
Width: 144  |  Height: 144  |  Size: 759 B

BIN
app/src/main/res/drawable-xxhdpi/ic_mail_icon.png View File

Before After
Width: 72  |  Height: 72  |  Size: 2.4 KiB

BIN
app/src/main/res/drawable-xxxhdpi/baseline_email_black_18.png View File

Before After
Width: 72  |  Height: 72  |  Size: 421 B

BIN
app/src/main/res/drawable-xxxhdpi/baseline_email_black_24.png View File

Before After
Width: 96  |  Height: 96  |  Size: 533 B

BIN
app/src/main/res/drawable-xxxhdpi/baseline_email_black_36.png View File

Before After
Width: 144  |  Height: 144  |  Size: 769 B

BIN
app/src/main/res/drawable-xxxhdpi/baseline_email_black_48.png View File

Before After
Width: 192  |  Height: 192  |  Size: 1023 B

BIN
app/src/main/res/drawable-xxxhdpi/baseline_email_white_18.png View File

Before After
Width: 72  |  Height: 72  |  Size: 419 B

BIN
app/src/main/res/drawable-xxxhdpi/baseline_email_white_24.png View File

Before After
Width: 96  |  Height: 96  |  Size: 532 B

BIN
app/src/main/res/drawable-xxxhdpi/baseline_email_white_36.png View File

Before After
Width: 144  |  Height: 144  |  Size: 759 B

BIN
app/src/main/res/drawable-xxxhdpi/baseline_email_white_48.png View File

Before After
Width: 192  |  Height: 192  |  Size: 1003 B

BIN
app/src/main/res/drawable-xxxhdpi/ic_mail_icon.png View File

Before After
Width: 96  |  Height: 96  |  Size: 4.1 KiB

+ 4
- 3
app/src/main/res/layout/widget.xml View File

@ -4,14 +4,15 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/colorWidgetBackground"
android:orientation="vertical"
android:orientation="horizontal"
android:padding="6dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingRight="@dimen/widget_padding"
android:layout_gravity="center_horizontal"
android:src="@drawable/baseline_mail_24"
android:src="@drawable/ic_action_name"
android:tint="@color/colorWidgetForeground" />
<TextView
@ -19,7 +20,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="?"
android:text="--"
android:textColor="@color/colorWidgetForeground"
android:textSize="15sp"
android:textStyle="bold" />


BIN
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png View File

Before After
Width: 162  |  Height: 162  |  Size: 1.8 KiB

BIN
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png View File

Before After
Width: 108  |  Height: 108  |  Size: 1.2 KiB

BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png View File

Before After
Width: 216  |  Height: 216  |  Size: 2.4 KiB

BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png View File

Before After
Width: 324  |  Height: 324  |  Size: 3.9 KiB

BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png View File

Before After
Width: 432  |  Height: 432  |  Size: 5.5 KiB

+ 1
- 0
app/src/main/res/values/dimens.xml View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="layout_margin">12dp</dimen>
<dimen name="widget_padding">6dp</dimen>
</resources>

+ 1
- 1
app/src/main/res/xml/widget.xml View File

@ -3,6 +3,6 @@
android:initialLayout="@layout/widget"
android:minWidth="40dp"
android:minHeight="40dp"
android:previewImage="@drawable/baseline_mail_24"
android:previewImage="@drawable/ic_shortcut_icon"
android:resizeMode="none"
android:updatePeriodMillis="0" />

Loading…
Cancel
Save