]> git.ktnx.net Git - mobile-ledger-staging.git/commitdiff
add round icon
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Jun 2020 16:55:58 +0000 (16:55 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Jun 2020 17:02:59 +0000 (17:02 +0000)
app/src/main/AndroidManifest.xml
app/src/main/res/drawable-anydpi-v26/app_icon_round.xml [new file with mode: 0644]

index 5f90c7171417a53eb78b9aca7548f7e43c5d5e21..85a211ef8b3b038fda23684c6777c23e253108fe 100644 (file)
@@ -22,6 +22,7 @@
 
     <application
         android:name=".App"
+        android:roundIcon="@drawable/app_icon_round"
         android:allowBackup="true"
         android:fullBackupContent="@xml/backup_descriptor"
         android:appCategory="productivity"
diff --git a/app/src/main/res/drawable-anydpi-v26/app_icon_round.xml b/app/src/main/res/drawable-anydpi-v26/app_icon_round.xml
new file mode 100644 (file)
index 0000000..f74bcb9
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  ~ 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
+  ~ the Free Software Foundation, either version 3 of the License, or
+  ~ (at your opinion), any later version.
+  ~
+  ~ MoLe is distributed in the hope that it will be useful,
+  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+  ~ GNU General Public License terms for details.
+  ~
+  ~ You should have received a copy of the GNU General Public License
+  ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
+  -->
+
+<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