Fix Night icon: use gradient drawable background like other working icons

This commit is contained in:
instant992 2026-06-17 08:38:37 +04:00
parent 239c4887f6
commit 007b419440
3 changed files with 11 additions and 2 deletions

View file

@ -46,7 +46,7 @@ public class LauncherIconController {
PREMIUM("PremiumIcon", R.drawable.icon_3_background_sa, R.mipmap.icon_3_launcher_foreground, R.string.AppIconPremium), PREMIUM("PremiumIcon", R.drawable.icon_3_background_sa, R.mipmap.icon_3_launcher_foreground, R.string.AppIconPremium),
TURBO("TurboIcon", R.drawable.icon_5_background_sa, R.mipmap.icon_5_launcher_foreground, R.string.AppIconTurbo), TURBO("TurboIcon", R.drawable.icon_5_background_sa, R.mipmap.icon_5_launcher_foreground, R.string.AppIconTurbo),
NOX("NoxIcon", R.drawable.icon_2_background_sa, R.drawable.ic_launcher_foreground, R.string.AppIconNox), NOX("NoxIcon", R.drawable.icon_2_background_sa, R.drawable.ic_launcher_foreground, R.string.AppIconNox),
RAINBOW("RainbowIcon", R.color.icon_8_launcher_background, R.mipmap.icon_8_launcher_foreground, R.string.AppIconRainbow), RAINBOW("RainbowIcon", R.drawable.icon_8_background_sa, R.mipmap.icon_8_launcher_foreground, R.string.AppIconRainbow),
SPACE("SpaceIcon", R.mipmap.icon_11_launcher_background, R.mipmap.icon_11_launcher_foreground, R.string.AppIconSpace), SPACE("SpaceIcon", R.mipmap.icon_11_launcher_background, R.mipmap.icon_11_launcher_foreground, R.string.AppIconSpace),
CLOUD("CloudIcon", R.color.ic_launcher_background, R.mipmap.icon_12_launcher_foreground, R.string.AppIconCloud); CLOUD("CloudIcon", R.color.ic_launcher_background, R.mipmap.icon_12_launcher_foreground, R.string.AppIconCloud);

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:type="linear"
android:angle="45"
android:startColor="#0A1428"
android:centerColor="#13284F"
android:endColor="#1B3A6B" />
</shape>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/icon_8_launcher_background"/> <background android:drawable="@drawable/icon_8_background_sa"/>
<foreground android:drawable="@mipmap/icon_8_launcher_foreground"/> <foreground android:drawable="@mipmap/icon_8_launcher_foreground"/>
</adaptive-icon> </adaptive-icon>