Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: exchanging the android app icons for cordova

Ilian Sapundshieva3c9c6180100
diff --git a/cordova/config.xml b/cordova/config.xml
index d705cac38..51c3ef111 100644
--- a/cordova/config.xml
+++ b/cordova/config.xml
@@ -26,6 +26,27 @@
<icon density="xhdpi" src="res/icon/android/mipmap-xhdpi/ic_launcher.png" />
<icon density="xxhdpi" src="res/icon/android/mipmap-xxhdpi/ic_launcher.png" />
<icon density="xxxhdpi" src="res/icon/android/mipmap-xxxhdpi/ic_launcher.png" />
+ <resource-file src="res/icon/android/mipmap-mdpi/ic_launcher_round.png" target="app/src/main/res/mipmap-mdpi/ic_launcher_round.png" />
+ <resource-file src="res/icon/android/mipmap-hdpi/ic_launcher_round.png" target="app/src/main/res/mipmap-hdpi/ic_launcher_round.png" />
+ <resource-file src="res/icon/android/mipmap-xhdpi/ic_launcher_round.png" target="app/src/main/res/mipmap-xhdpi/ic_launcher_round.png" />
+ <resource-file src="res/icon/android/mipmap-xxhdpi/ic_launcher_round.png" target="app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png" />
+ <resource-file src="res/icon/android/mipmap-xxxhdpi/ic_launcher_round.png" target="app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png" />
+ <resource-file src="res/icon/android/mipmap-mdpi/ic_launcher_foreground.png" target="app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png" />
+ <resource-file src="res/icon/android/mipmap-hdpi/ic_launcher_foreground.png" target="app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png" />
+ <resource-file src="res/icon/android/mipmap-xhdpi/ic_launcher_foreground.png" target="app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png" />
+ <resource-file src="res/icon/android/mipmap-xxhdpi/ic_launcher_foreground.png" target="app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png" />
+ <resource-file src="res/icon/android/mipmap-xxxhdpi/ic_launcher_foreground.png" target="app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png" />
+ <resource-file src="res/icon/android/mipmap-mdpi/ic_launcher_monochrome.png" target="app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png" />
+ <resource-file src="res/icon/android/mipmap-hdpi/ic_launcher_monochrome.png" target="app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png" />
+ <resource-file src="res/icon/android/mipmap-xhdpi/ic_launcher_monochrome.png" target="app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png" />
+ <resource-file src="res/icon/android/mipmap-xxhdpi/ic_launcher_monochrome.png" target="app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png" />
+ <resource-file src="res/icon/android/mipmap-xxxhdpi/ic_launcher_monochrome.png" target="app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png" />
+ <resource-file src="res/icon/android/mipmap-anydpi-v26/ic_launcher.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml" />
+ <resource-file src="res/icon/android/mipmap-anydpi-v26/ic_launcher_round.xml" target="app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml" />
+ <resource-file src="res/icon/android/values/ic_launcher_background.xml" target="app/src/main/res/values/ic_launcher_background.xml" />
+ <edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge">
+ <application android:roundIcon="@mipmap/ic_launcher_round" />
+ </edit-config>
<config-file platform="android" parent="/manifest/application/activity" target="AndroidManifest.xml" mode="merge">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
diff --git a/cordova/res/icon/android/mipmap-anydpi-v26/ic_launcher.xml b/cordova/res/icon/android/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 000000000..1451b6a0a
--- /dev/null
+++ b/cordova/res/icon/android/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,6 @@
+<?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="@mipmap/ic_launcher_foreground" />
+ <monochrome android:drawable="@mipmap/ic_launcher_monochrome" />
+</adaptive-icon>
diff --git a/cordova/res/icon/android/mipmap-anydpi-v26/ic_launcher_round.xml b/cordova/res/icon/android/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 000000000..1451b6a0a
--- /dev/null
+++ b/cordova/res/icon/android/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,6 @@
+<?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="@mipmap/ic_launcher_foreground" />
+ <monochrome android:drawable="@mipmap/ic_launcher_monochrome" />
+</adaptive-icon>
diff --git a/cordova/res/icon/android/mipmap-hdpi/ic_launcher.png b/cordova/res/icon/android/mipmap-hdpi/ic_launcher.png
index d0be34aaf..ffe58a4b9 100644
Binary files a/cordova/res/icon/android/mipmap-hdpi/ic_launcher.png and b/cordova/res/icon/android/mipmap-hdpi/ic_launcher.png differ
diff --git a/cordova/res/icon/android/mipmap-hdpi/ic_launcher_foreground.png b/cordova/res/icon/android/mipmap-hdpi/ic_launcher_foreground.png
new file mode 100644
index 000000000..d7caf7092
Binary files /dev/null and b/cordova/res/icon/android/mipmap-hdpi/ic_launcher_foreground.png differ
diff --git a/cordova/res/icon/android/mipmap-hdpi/ic_launcher_monochrome.png b/cordova/res/icon/android/mipmap-hdpi/ic_launcher_monochrome.png
new file mode 100644
index 000000000..5831383f6
Binary files /dev/null and b/cordova/res/icon/android/mipmap-hdpi/ic_launcher_monochrome.png differ
diff --git a/cordova/res/icon/android/mipmap-hdpi/ic_launcher_round.png b/cordova/res/icon/android/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 000000000..8f031975a
Binary files /dev/null and b/cordova/res/icon/android/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/cordova/res/icon/android/mipmap-mdpi/ic_launcher.png b/cordova/res/icon/android/mipmap-mdpi/ic_launcher.png
index fdf39bbec..4de1b6189 100644
Binary files a/cordova/res/icon/android/mipmap-mdpi/ic_launcher.png and b/cordova/res/icon/android/mipmap-mdpi/ic_launcher.png differ
diff --git a/cordova/res/icon/android/mipmap-mdpi/ic_launcher_foreground.png b/cordova/res/icon/android/mipmap-mdpi/ic_launcher_foreground.png
new file mode 100644
index 000000000..76f08d919
Binary files /dev/null and b/cordova/res/icon/android/mipmap-mdpi/ic_launcher_foreground.png differ
diff --git a/cordova/res/icon/android/mipmap-mdpi/ic_launcher_monochrome.png b/cordova/res/icon/android/mipmap-mdpi/ic_launcher_monochrome.png
new file mode 100644
index 000000000..6babea59e
Binary files /dev/null and b/cordova/res/icon/android/mipmap-mdpi/ic_launcher_monochrome.png differ
diff --git a/cordova/res/icon/android/mipmap-mdpi/ic_launcher_round.png b/cordova/res/icon/android/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 000000000..8cebbb3ec
Binary files /dev/null and b/cordova/res/icon/android/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/cordova/res/icon/android/mipmap-xhdpi/ic_launcher.png b/cordova/res/icon/android/mipmap-xhdpi/ic_launcher.png
index aadfe5c4b..df9e262eb 100644
Binary files a/cordova/res/icon/android/mipmap-xhdpi/ic_launcher.png and b/cordova/res/icon/android/mipmap-xhdpi/ic_launcher.png differ
diff --git a/cordova/res/icon/android/mipmap-xhdpi/ic_launcher_foreground.png b/cordova/res/icon/android/mipmap-xhdpi/ic_launcher_foreground.png
new file mode 100644
index 000000000..e334edaa1
Binary files /dev/null and b/cordova/res/icon/android/mipmap-xhdpi/ic_launcher_foreground.png differ
diff --git a/cordova/res/icon/android/mipmap-xhdpi/ic_launcher_monochrome.png b/cordova/res/icon/android/mipmap-xhdpi/ic_launcher_monochrome.png
new file mode 100644
index 000000000..6f55f8faf
Binary files /dev/null and b/cordova/res/icon/android/mipmap-xhdpi/ic_launcher_monochrome.png differ
diff --git a/cordova/res/icon/android/mipmap-xhdpi/ic_launcher_round.png b/cordova/res/icon/android/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 000000000..3ad905a00
Binary files /dev/null and b/cordova/res/icon/android/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher.png b/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher.png
index 6b3262752..b414c56de 100644
Binary files a/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher.png and b/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher_foreground.png b/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher_foreground.png
new file mode 100644
index 000000000..040d22d72
Binary files /dev/null and b/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher_foreground.png differ
diff --git a/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher_monochrome.png b/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher_monochrome.png
new file mode 100644
index 000000000..2686f4ebd
Binary files /dev/null and b/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher_monochrome.png differ
diff --git a/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher_round.png b/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 000000000..54cabab96
Binary files /dev/null and b/cordova/res/icon/android/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher.png b/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher.png
index d181c6809..f406def99 100644
Binary files a/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher.png and b/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher_foreground.png b/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher_foreground.png
new file mode 100644
index 000000000..adc6dfe5a
Binary files /dev/null and b/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher_foreground.png differ
diff --git a/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher_monochrome.png b/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher_monochrome.png
new file mode 100644
index 000000000..dd8f4ee3c
Binary files /dev/null and b/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher_monochrome.png differ
diff --git a/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher_round.png b/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 000000000..2f011f75c
Binary files /dev/null and b/cordova/res/icon/android/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/cordova/res/icon/android/values/ic_launcher_background.xml b/cordova/res/icon/android/values/ic_launcher_background.xml
new file mode 100644
index 000000000..5b3095927
--- /dev/null
+++ b/cordova/res/icon/android/values/ic_launcher_background.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="ic_launcher_background">#ffffff</color>
+</resources>