]> git.ktnx.net Git - mobile-ledger.git/commitdiff
restore vector-only app icon
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Jun 2020 16:53:12 +0000 (16:53 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Jun 2020 17:02:59 +0000 (17:02 +0000)
bitmap variants are smaller in every tried launcher

24 files changed:
app/src/main/AndroidManifest.xml
app/src/main/res/drawable-anydpi-v26/app_icon.xml
app/src/main/res/drawable/ic_launcher_background.xml [deleted file]
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml [deleted file]
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml [deleted file]
app/src/main/res/mipmap-hdpi/app_icon.png [deleted file]
app/src/main/res/mipmap-hdpi/ic_launcher.png [deleted file]
app/src/main/res/mipmap-hdpi/ic_launcher_round.png [deleted file]
app/src/main/res/mipmap-ldpi/app_icon.png [deleted file]
app/src/main/res/mipmap-ldpi/ic_launcher.png [deleted file]
app/src/main/res/mipmap-mdpi/app_icon.png [deleted file]
app/src/main/res/mipmap-mdpi/ic_launcher.png [deleted file]
app/src/main/res/mipmap-mdpi/ic_launcher_round.png [deleted file]
app/src/main/res/mipmap-tvdpi/app_icon.png [deleted file]
app/src/main/res/mipmap-tvdpi/ic_launcher.png [deleted file]
app/src/main/res/mipmap-xhdpi/app_icon.png [deleted file]
app/src/main/res/mipmap-xhdpi/ic_launcher.png [deleted file]
app/src/main/res/mipmap-xhdpi/ic_launcher_round.png [deleted file]
app/src/main/res/mipmap-xxhdpi/app_icon.png [deleted file]
app/src/main/res/mipmap-xxhdpi/ic_launcher.png [deleted file]
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png [deleted file]
app/src/main/res/mipmap-xxxhdpi/app_icon.png [deleted file]
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png [deleted file]
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png [deleted file]

index 031ca4f2e77e32d0dacc1327eb6c148fecfc7bb3..5f90c7171417a53eb78b9aca7548f7e43c5d5e21 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?><!--
-  ~ Copyright © 2019 Damyan Ivanov.
+  ~ Copyright © 2020 Damyan Ivanov.
   ~ This file is part of MoLe.
   ~ MoLe is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
@@ -25,8 +25,7 @@
         android:allowBackup="true"
         android:fullBackupContent="@xml/backup_descriptor"
         android:appCategory="productivity"
-        android:icon="@mipmap/ic_launcher"
-        android:roundIcon="@mipmap/ic_launcher_round"
+        android:icon="@drawable/app_icon"
         android:label="@string/app_name"
         android:supportsRtl="true"
         android:networkSecurityConfig="@xml/network_security_config"
index 2f3242be4dc364c0d6d94d5a68d30c5695c2b847..f74bcb9c49092aebb0d01be458218b9415ea5a1e 100644 (file)
@@ -1,5 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
 <!--
-  ~ Copyright © 2019 Damyan Ivanov.
+  ~ Copyright © 2020 Damyan Ivanov.
   ~ This file is part of MoLe.
   ~ MoLe is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
@@ -16,6 +17,6 @@
   -->
 
 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
-    <background android:drawable="@drawable/app_icon_bg" />
-    <foreground android:drawable="@drawable/app_icon_transparent_bg" />
-</adaptive-icon>
+    <background android:drawable="@color/ic_launcher_background"/>
+    <foreground android:drawable="@drawable/ic_launcher_foreground"/>
+</adaptive-icon>
\ No newline at end of file
diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml
deleted file mode 100644 (file)
index 8c04131..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?><!--
-  ~ Copyright Google Inc.
-  ~
-  ~ Licensed under the Apache License, version 2.0 ("the License");
-  ~ you may not use this file except in compliance with the License.
-  ~ You may obtain a copy of the license at:
-  ~
-  ~ https://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing, software
-  ~ distribution under the License is distributed on an "AS IS" BASIS,
-  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  ~ See the License for the specific language governing permissions and
-  ~ limitations under the License.
-  ~
-  ~ Modified/adapted by Damyan Ivanov for MoLe
-  -->
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
-    android:width="108dp"
-    android:height="108dp"
-    android:autoMirrored="true"
-    android:viewportWidth="90"
-    android:viewportHeight="90"
-    >
-    <path
-        android:fillAlpha="1"
-        android:fillColor="?colorPrimary"
-        android:fillType="nonZero"
-        android:pathData="M0,0 l0,90 l90,0 l0,-90 z"
-        android:strokeWidth="0"
-        android:strokeAlpha="1"
-        android:strokeColor="#00000000"
-        android:strokeLineCap="square"
-        android:strokeLineJoin="round"
-        />
-</vector>
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
deleted file mode 100644 (file)
index 7353dbd..0000000
+++ /dev/null
@@ -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_launcher_background"/>
-    <foreground android:drawable="@drawable/ic_launcher_foreground"/>
-</adaptive-icon>
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
deleted file mode 100644 (file)
index 7353dbd..0000000
+++ /dev/null
@@ -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_launcher_background"/>
-    <foreground android:drawable="@drawable/ic_launcher_foreground"/>
-</adaptive-icon>
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-hdpi/app_icon.png b/app/src/main/res/mipmap-hdpi/app_icon.png
deleted file mode 100644 (file)
index 7a7edc6..0000000
Binary files a/app/src/main/res/mipmap-hdpi/app_icon.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644 (file)
index 50f2500..0000000
Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
deleted file mode 100644 (file)
index 8751305..0000000
Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-ldpi/app_icon.png b/app/src/main/res/mipmap-ldpi/app_icon.png
deleted file mode 100644 (file)
index 9efa195..0000000
Binary files a/app/src/main/res/mipmap-ldpi/app_icon.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-ldpi/ic_launcher.png b/app/src/main/res/mipmap-ldpi/ic_launcher.png
deleted file mode 100644 (file)
index 3bbdc15..0000000
Binary files a/app/src/main/res/mipmap-ldpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-mdpi/app_icon.png b/app/src/main/res/mipmap-mdpi/app_icon.png
deleted file mode 100644 (file)
index dcf9464..0000000
Binary files a/app/src/main/res/mipmap-mdpi/app_icon.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644 (file)
index 34b35ba..0000000
Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
deleted file mode 100644 (file)
index 17b4d9d..0000000
Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-tvdpi/app_icon.png b/app/src/main/res/mipmap-tvdpi/app_icon.png
deleted file mode 100644 (file)
index 0721889..0000000
Binary files a/app/src/main/res/mipmap-tvdpi/app_icon.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-tvdpi/ic_launcher.png b/app/src/main/res/mipmap-tvdpi/ic_launcher.png
deleted file mode 100644 (file)
index fafac81..0000000
Binary files a/app/src/main/res/mipmap-tvdpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xhdpi/app_icon.png b/app/src/main/res/mipmap-xhdpi/app_icon.png
deleted file mode 100644 (file)
index 5de8fea..0000000
Binary files a/app/src/main/res/mipmap-xhdpi/app_icon.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644 (file)
index d122569..0000000
Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
deleted file mode 100644 (file)
index 16ac723..0000000
Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xxhdpi/app_icon.png b/app/src/main/res/mipmap-xxhdpi/app_icon.png
deleted file mode 100644 (file)
index 2b7c1b0..0000000
Binary files a/app/src/main/res/mipmap-xxhdpi/app_icon.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644 (file)
index 4dc5126..0000000
Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
deleted file mode 100644 (file)
index 8fa7bd9..0000000
Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/app_icon.png b/app/src/main/res/mipmap-xxxhdpi/app_icon.png
deleted file mode 100644 (file)
index bf8f7cf..0000000
Binary files a/app/src/main/res/mipmap-xxxhdpi/app_icon.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644 (file)
index 864406d..0000000
Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
deleted file mode 100644 (file)
index 98116a7..0000000
Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and /dev/null differ