1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-10 10:00:44 +09:00

App | Redesign | New app icon (#1923)

This commit is contained in:
Evgenii Kozlov 2021-11-11 15:12:01 +03:00 committed by GitHub
parent 8dfec4f7f0
commit ce2bca4adf
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 43 additions and 13 deletions

View file

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View file

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

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

View file

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

View file

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

View file

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

View file

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 971 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 850 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_new_app_launcher_background">#FFFFFF</color>
</resources>