Parcourir la source

tweaked notification icon and launcher icon - using only wireframe

yattoz il y a 4 ans
Parent
révision
17e973702d
25 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. BIN
      app/src/main/ic_launcher-web.png
  2. 2 2
      app/src/main/java/fr/forum_thalie/tsumugi/BaseNotification.kt
  3. BIN
      app/src/main/res/drawable-hdpi/ic_notif_lollipop_icon.png
  4. BIN
      app/src/main/res/drawable-mdpi/ic_notif_lollipop_icon.png
  5. BIN
      app/src/main/res/drawable-xhdpi/ic_notif_lollipop_icon.png
  6. BIN
      app/src/main/res/drawable-xxhdpi/ic_notif_lollipop_icon.png
  7. BIN
      app/src/main/res/drawable-xxxhdpi/ic_notif_lollipop_icon.png
  8. 1 1
      app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  9. 1 1
      app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  10. BIN
      app/src/main/res/mipmap-hdpi/ic_launcher.png
  11. BIN
      app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
  12. BIN
      app/src/main/res/mipmap-hdpi/ic_launcher_round.png
  13. BIN
      app/src/main/res/mipmap-mdpi/ic_launcher.png
  14. BIN
      app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
  15. BIN
      app/src/main/res/mipmap-mdpi/ic_launcher_round.png
  16. BIN
      app/src/main/res/mipmap-xhdpi/ic_launcher.png
  17. BIN
      app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
  18. BIN
      app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
  19. BIN
      app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  20. BIN
      app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
  21. BIN
      app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  22. BIN
      app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  23. BIN
      app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
  24. BIN
      app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  25. 1 1
      app/src/main/res/values-fr/strings.xml

BIN
app/src/main/ic_launcher-web.png Voir le fichier


+ 2 - 2
app/src/main/java/fr/forum_thalie/tsumugi/BaseNotification.kt Voir le fichier

@@ -68,8 +68,8 @@ abstract class BaseNotification(private val notificationChannelId: String,
68 68
         builder = NotificationCompat.Builder(c, channelID)
69 69
 
70 70
         if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
71
-            builder.setSmallIcon(R.drawable.lollipop_logo)
72
-            builder.color = -0xf58b01 // same color as Accent. Can't use c.getColor since it's API23+
71
+            builder.setSmallIcon(R.drawable.ic_notif_lollipop_icon)
72
+            builder.color = 0xf58b01 // same color as Accent. Can't use c.getColor since it's API23+
73 73
         } else {
74 74
             builder.setSmallIcon(R.drawable.logo_roundsquare)
75 75
         }

BIN
app/src/main/res/drawable-hdpi/ic_notif_lollipop_icon.png Voir le fichier


BIN
app/src/main/res/drawable-mdpi/ic_notif_lollipop_icon.png Voir le fichier


BIN
app/src/main/res/drawable-xhdpi/ic_notif_lollipop_icon.png Voir le fichier


BIN
app/src/main/res/drawable-xxhdpi/ic_notif_lollipop_icon.png Voir le fichier


BIN
app/src/main/res/drawable-xxxhdpi/ic_notif_lollipop_icon.png Voir le fichier


+ 1 - 1
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml Voir le fichier

@@ -1,5 +1,5 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2 2
 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3 3
     <background android:drawable="@color/ic_launcher_background"/>
4
-    <foreground android:drawable="@drawable/ic_launcher_foreground"/>
4
+    <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5 5
 </adaptive-icon>

+ 1 - 1
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml Voir le fichier

@@ -1,5 +1,5 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2 2
 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3 3
     <background android:drawable="@color/ic_launcher_background"/>
4
-    <foreground android:drawable="@drawable/ic_launcher_foreground"/>
4
+    <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5 5
 </adaptive-icon>

BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png Voir le fichier


BIN
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png Voir le fichier


BIN
app/src/main/res/mipmap-hdpi/ic_launcher_round.png Voir le fichier


BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png Voir le fichier


BIN
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png Voir le fichier


BIN
app/src/main/res/mipmap-mdpi/ic_launcher_round.png Voir le fichier


BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png Voir le fichier


BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png Voir le fichier


BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_round.png Voir le fichier


BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png Voir le fichier


BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png Voir le fichier


BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png Voir le fichier


BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png Voir le fichier


BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png Voir le fichier


BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png Voir le fichier


+ 1 - 1
app/src/main/res/values-fr/strings.xml Voir le fichier

@@ -33,7 +33,7 @@
33 33
     <string name="select_one_day">Sélectionner au moins un jour.</string>
34 34
     <string name="no_alarm_set">Pas d\'alarme</string>
35 35
     <string name="next_alarm">Prochaine alarme :</string>
36
-    <string name="lp">Dernières titres</string>
36
+    <string name="lp">Derniers titres</string>
37 37
     <string name="programme">Planning</string>
38 38
     <string name="regular_programme">Programme régulier</string>
39 39
     <string name="useAlarmClock">Activer l\'alarme</string>