[app] new icons

This commit is contained in:
8055
2022-12-18 02:48:14 +05:00
committed by immat0x1
parent 58c25d20d8
commit e10e2d0e6d
72 changed files with 122 additions and 21 deletions

View File

@@ -144,6 +144,7 @@
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:enabled="false"
@@ -160,7 +161,66 @@
</intent-filter>
</activity-alias>
<activity-alias
android:enabled="false"
android:name="com.exteragram.messenger.Dsgn480Icon"
android:targetActivity="org.telegram.ui.LaunchActivity"
android:icon="@mipmap/ic_launcher_480dsgn"
android:roundIcon="@mipmap/ic_launcher_480dsgn"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:enabled="false"
android:name="com.exteragram.messenger.GlowIcon"
android:targetActivity="org.telegram.ui.LaunchActivity"
android:icon="@mipmap/ic_launcher_glow"
android:roundIcon="@mipmap/ic_launcher_glow"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:enabled="false"
android:name="com.exteragram.messenger.SpaceIcon"
android:targetActivity="org.telegram.ui.LaunchActivity"
android:icon="@mipmap/ic_launcher_space"
android:roundIcon="@mipmap/ic_launcher_space"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:enabled="false"
android:name="com.exteragram.messenger.WinterIcon"
android:targetActivity="org.telegram.ui.LaunchActivity"
android:icon="@mipmap/ic_launcher_winter"
android:roundIcon="@mipmap/ic_launcher_winter"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:enabled="false"
android:name="com.exteragram.messenger.RedIcon"

View File

@@ -31,10 +31,6 @@ public class PremiumAppIconsPreviewView extends FrameLayout implements PagerHead
super(context);
for (LauncherIconController.LauncherIcon icon : LauncherIconController.LauncherIcon.values()) {
if ((icon == LauncherIconController.LauncherIcon.MONET) ||
(icon == LauncherIconController.LauncherIcon.RED && ExteraUtils.notSubbedTo(1178248235))) {
continue;
}
icons.add(icon);
if (icons.size() == 3) {
break;

View File

@@ -45,7 +45,11 @@ public class LauncherIconController {
DEFAULT("DefaultIcon", BuildVars.isBetaApp() ? R.color.ic_background_beta : R.color.ic_background, R.drawable.ic_foreground, R.string.AppIconDefault),
MONET("MonetIcon", R.color.ic_background_monet, R.drawable.ic_foreground_monet, R.string.AppIconMonet),
GRADIENT("GradientIcon", R.mipmap.ic_background_gradient, R.drawable.ic_foreground, R.string.AppIconGradient),
GOOGLE("GoogleIcon", R.mipmap.ic_background_google, R.mipmap.ic_foreground_google, R.string.AppIconGoogle),
GOOGLE("GoogleIcon", R.color.white, R.mipmap.ic_foreground_google, R.string.AppIconGoogle),
DSGN480("Dsgn480Icon", R.mipmap.ic_background_480dsgn, R.mipmap.ic_foreground_480dsgn, R.string.AppIcon480dsgn),
GLOW("GlowIcon", R.mipmap.ic_background_glow, R.mipmap.ic_foreground_glow, R.string.AppIconGlow),
SPACE("SpaceIcon", R.mipmap.ic_background_space, R.mipmap.ic_foreground_space, R.string.AppIconSpace),
WINTER("WinterIcon", R.mipmap.ic_background_winter, R.drawable.ic_foreground, R.string.AppIconWinter),
RED("RedIcon", R.mipmap.ic_background_red, R.mipmap.ic_foreground_red, R.string.AppIconRed);
public final String key;

View File

@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="108dp"
android:width="108dp"
android:viewportWidth="108.0"
android:viewportHeight="108.0">
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M65.513,39.057C68.404,38.103 70.119,39.65 69.2,42.553C66.889,49.848 62.356,63.156 59.473,71.559C58.719,73.755 55.225,73.67 54.349,71.519C52.845,67.83 50.629,63.536 47.606,60.406C44.715,57.413 40.668,55.25 37.074,53.771C34.885,52.871 34.808,49.192 37.056,48.45L65.513,39.057Z"
android:fillAlpha="0.7" />
android:fillColor="#B3FFFFFF"
android:pathData="M65.2 39.46c2.82-0.93 4.49 0.58 3.6 3.4-2.26 7.1-6.67 20.05-9.47 28.22-0.74 2.14-4.14 2.06-4.99-0.03-1.46-3.6-3.62-7.77-6.56-10.82-2.81-2.9-6.75-5.01-10.25-6.45-2.13-0.88-2.2-4.46-0.01-5.18l27.68-9.14Z"/>
</vector>

View File

@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="108dp"
android:width="108dp"
android:viewportWidth="108.0"
android:viewportHeight="108.0">
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M65.513,39.057C68.404,38.103 70.119,39.65 69.2,42.553C66.889,49.848 62.356,63.156 59.473,71.559C58.719,73.755 55.225,73.67 54.349,71.519C52.845,67.83 50.629,63.536 47.606,60.406C44.715,57.413 40.668,55.25 37.074,53.771C34.885,52.871 34.808,49.192 37.056,48.45L65.513,39.057Z" />
</vector>
android:pathData="M65.2 39.46c2.82-0.93 4.49 0.58 3.6 3.4-2.26 7.1-6.67 20.05-9.47 28.22-0.74 2.14-4.14 2.06-4.99-0.03-1.46-3.6-3.62-7.77-6.56-10.82-2.81-2.9-6.75-5.01-10.25-6.45-2.13-0.88-2.2-4.46-0.01-5.18l27.68-9.14Z"/>
</vector>

View File

@@ -7,4 +7,4 @@
android:fillColor="#FFFFFFFF"
android:fillType="evenOdd"
android:pathData="M68.79 42.86c0.9-2.82-0.78-4.33-3.59-3.4l-2.64 0.87 0.06 0.04-0.35 0.6C58.11 48.23 51.51 53.9 43.6 56.89c0.97 0.62 1.91 1.3 2.78 2.04l0.21-0.12c2.73-1.53 5.88-2.4 9.24-2.4 2.82 0 5.5 0.61 7.91 1.73 1.95-5.76 3.79-11.3 5.05-15.27ZM42.05 55.95l0.55-0.2c7.58-2.73 13.94-8 18.05-14.79L37.5 48.6c-2.18 0.72-2.1 4.3 0.02 5.18 1.47 0.6 3.01 1.32 4.52 2.17Zm5.73 4.28l-0.3-0.3c2.47-1.36 5.32-2.13 8.35-2.13 2.64 0 5.14 0.58 7.38 1.63l0.08 0.04-3.97 11.61c-0.73 2.14-4.13 2.06-4.98-0.03-1.46-3.6-3.62-7.77-6.56-10.82Z"/>
</vector>
</vector>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background
android:drawable="@mipmap/ic_background_480dsgn" />
<foreground
android:drawable="@mipmap/ic_foreground_480dsgn" />
<monochrome
android:drawable="@drawable/ic_monochrome"/>
</adaptive-icon>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background
android:drawable="@mipmap/ic_background_glow" />
<foreground
android:drawable="@mipmap/ic_foreground_glow" />
<monochrome
android:drawable="@drawable/ic_monochrome"/>
</adaptive-icon>

View File

@@ -2,7 +2,7 @@
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background
android:drawable="@mipmap/ic_background_google" />
android:drawable="@color/white" />
<foreground
android:drawable="@mipmap/ic_foreground_google" />
<monochrome

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background
android:drawable="@mipmap/ic_background_space" />
<foreground
android:drawable="@mipmap/ic_foreground_space" />
<monochrome
android:drawable="@drawable/ic_monochrome"/>
</adaptive-icon>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background
android:drawable="@mipmap/ic_background_winter" />
<foreground
android:drawable="@drawable/ic_foreground" />
<monochrome
android:drawable="@drawable/ic_monochrome"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 538 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 700 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -5915,4 +5915,8 @@
<string name="SelectChatsForDisableAutoDelete2_many">will remove the self-destruct timer</string>
<string name="SelectChatsForDisableAutoDelete2_other">will remove the self-destruct timer</string>
<string name="DisableAutoDeleteTimer">Disable Auto-Delete</string>
<string name="AppIcon480dsgn">480 DSGN</string>
<string name="AppIconGlow">Glow</string>
<string name="AppIconSpace">Space</string>
<string name="AppIconWinter">Winter</string>
</resources>