App | Redesign | New app icon (#1923)
|
@ -12,11 +12,11 @@
|
|||
android:name="com.anytypeio.anytype.app.AndroidApplication"
|
||||
android:allowBackup="true"
|
||||
android:fullBackupContent="@xml/my_backup_rules"
|
||||
android:icon="@mipmap/ic_app"
|
||||
android:icon="@mipmap/ic_new_app_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
android:requestLegacyExternalStorage="true"
|
||||
android:roundIcon="@mipmap/ic_app_round"
|
||||
android:roundIcon="@mipmap/ic_new_app_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity
|
||||
|
|
BIN
app/src/main/ic_new_app_launcher-playstore.png
Normal file
After Width: | Height: | Size: 11 KiB |
|
@ -24,7 +24,7 @@ class DefaultAppActionManager(val context: Context) : AppActionManager {
|
|||
val shortcut = ShortcutInfoCompat.Builder(context, ACTION_CREATE_NEW_ID)
|
||||
.setShortLabel(label)
|
||||
.setLongLabel(label)
|
||||
.setIcon(IconCompat.createWithResource(context, R.mipmap.ic_app))
|
||||
.setIcon(IconCompat.createWithResource(context, R.mipmap.ic_new_app_launcher))
|
||||
.setIntent(
|
||||
Intent(Intent.ACTION_VIEW, null).apply {
|
||||
setClass(context, MainActivity::class.java)
|
||||
|
|
26
app/src/main/res/drawable/ic_new_app_launcher_foreground.xml
Normal file
|
@ -0,0 +1,26 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<group android:scaleX="0.9818182"
|
||||
android:scaleY="0.9818182">
|
||||
<path
|
||||
android:pathData="M64,44V34.998H39.5V44.089L64,44ZM64,44L64,74.998H73.2V44L64,44ZM47.75,75C54.792,75 60.5,69.292 60.5,62.25C60.5,55.208 54.792,49.5 47.75,49.5C40.708,49.5 35,55.208 35,62.25C35,69.292 40.708,75 47.75,75Z"
|
||||
android:fillType="evenOdd">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:startY="34.9984"
|
||||
android:startX="51.9106"
|
||||
android:endY="75.0001"
|
||||
android:endX="51.6608"
|
||||
android:type="linear">
|
||||
<item android:offset="0" android:color="#FFD7A4DF"/>
|
||||
<item android:offset="0.501352" android:color="#FFFCC9C6"/>
|
||||
<item android:offset="1" android:color="#FFFFCB81"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</group>
|
||||
</vector>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_app_back_main" />
|
||||
<foreground android:drawable="@mipmap/ic_app_front" />
|
||||
</adaptive-icon>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_app_back_main" />
|
||||
<foreground android:drawable="@mipmap/ic_app_front" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_new_app_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_new_app_launcher_foreground"/>
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_new_app_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_new_app_launcher_foreground"/>
|
||||
</adaptive-icon>
|
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 971 B |
Before Width: | Height: | Size: 2.8 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_new_app_launcher.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_new_app_launcher_round.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 850 B |
Before Width: | Height: | Size: 636 B |
Before Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_new_app_launcher.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_new_app_launcher_round.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 4.1 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_new_app_launcher.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_new_app_launcher_round.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 6.4 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_new_app_launcher.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_new_app_launcher_round.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 9.4 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_new_app_launcher.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_new_app_launcher_round.png
Normal file
After Width: | Height: | Size: 12 KiB |
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_new_app_launcher_background">#FFFFFF</color>
|
||||
</resources>
|