瀏覽代碼

tweaked notification icon and launcher icon - using only wireframe

yattoz 4 年之前
父節點
當前提交
17e973702d
共有 25 個文件被更改,包括 5 次插入5 次删除
  1. 二進制
      app/src/main/ic_launcher-web.png
  2. 2 2
      app/src/main/java/fr/forum_thalie/tsumugi/BaseNotification.kt
  3. 二進制
      app/src/main/res/drawable-hdpi/ic_notif_lollipop_icon.png
  4. 二進制
      app/src/main/res/drawable-mdpi/ic_notif_lollipop_icon.png
  5. 二進制
      app/src/main/res/drawable-xhdpi/ic_notif_lollipop_icon.png
  6. 二進制
      app/src/main/res/drawable-xxhdpi/ic_notif_lollipop_icon.png
  7. 二進制
      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. 二進制
      app/src/main/res/mipmap-hdpi/ic_launcher.png
  11. 二進制
      app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
  12. 二進制
      app/src/main/res/mipmap-hdpi/ic_launcher_round.png
  13. 二進制
      app/src/main/res/mipmap-mdpi/ic_launcher.png
  14. 二進制
      app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
  15. 二進制
      app/src/main/res/mipmap-mdpi/ic_launcher_round.png
  16. 二進制
      app/src/main/res/mipmap-xhdpi/ic_launcher.png
  17. 二進制
      app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
  18. 二進制
      app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
  19. 二進制
      app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  20. 二進制
      app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
  21. 二進制
      app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  22. 二進制
      app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  23. 二進制
      app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
  24. 二進制
      app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  25. 1 1
      app/src/main/res/values-fr/strings.xml

二進制
app/src/main/ic_launcher-web.png 查看文件


+ 2 - 2
app/src/main/java/fr/forum_thalie/tsumugi/BaseNotification.kt 查看文件

@@ -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
         }

二進制
app/src/main/res/drawable-hdpi/ic_notif_lollipop_icon.png 查看文件


二進制
app/src/main/res/drawable-mdpi/ic_notif_lollipop_icon.png 查看文件


二進制
app/src/main/res/drawable-xhdpi/ic_notif_lollipop_icon.png 查看文件


二進制
app/src/main/res/drawable-xxhdpi/ic_notif_lollipop_icon.png 查看文件


二進制
app/src/main/res/drawable-xxxhdpi/ic_notif_lollipop_icon.png 查看文件


+ 1 - 1
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml 查看文件

@@ -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 查看文件

@@ -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>

二進制
app/src/main/res/mipmap-hdpi/ic_launcher.png 查看文件


二進制
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png 查看文件


二進制
app/src/main/res/mipmap-hdpi/ic_launcher_round.png 查看文件


二進制
app/src/main/res/mipmap-mdpi/ic_launcher.png 查看文件


二進制
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png 查看文件


二進制
app/src/main/res/mipmap-mdpi/ic_launcher_round.png 查看文件


二進制
app/src/main/res/mipmap-xhdpi/ic_launcher.png 查看文件


二進制
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png 查看文件


二進制
app/src/main/res/mipmap-xhdpi/ic_launcher_round.png 查看文件


二進制
app/src/main/res/mipmap-xxhdpi/ic_launcher.png 查看文件


二進制
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png 查看文件


二進制
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png 查看文件


二進制
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png 查看文件


二進制
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png 查看文件


二進制
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png 查看文件


+ 1 - 1
app/src/main/res/values-fr/strings.xml 查看文件

@@ -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>