Browse Source

round & adaptive icon added

AndyScherzinger 7 years ago
parent
commit
80a2f76f51
39 changed files with 181 additions and 0 deletions
  1. 1 0
      src/gplay/AndroidManifest.xml
  2. 1 0
      src/main/AndroidManifest.xml
  3. 30 0
      src/main/res/drawable/ic_launcher_foreground.xml
  4. 23 0
      src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  5. 23 0
      src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  6. BIN
      src/main/res/mipmap-hdpi/ic_launcher.png
  7. BIN
      src/main/res/mipmap-hdpi/ic_launcher_background.png
  8. BIN
      src/main/res/mipmap-hdpi/ic_launcher_round.png
  9. BIN
      src/main/res/mipmap-mdpi/ic_launcher.png
  10. BIN
      src/main/res/mipmap-mdpi/ic_launcher_background.png
  11. BIN
      src/main/res/mipmap-mdpi/ic_launcher_round.png
  12. BIN
      src/main/res/mipmap-xhdpi/ic_launcher.png
  13. BIN
      src/main/res/mipmap-xhdpi/ic_launcher_background.png
  14. BIN
      src/main/res/mipmap-xhdpi/ic_launcher_round.png
  15. BIN
      src/main/res/mipmap-xxhdpi/ic_launcher.png
  16. BIN
      src/main/res/mipmap-xxhdpi/ic_launcher_background.png
  17. BIN
      src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  18. BIN
      src/main/res/mipmap-xxxhdpi/ic_launcher.png
  19. BIN
      src/main/res/mipmap-xxxhdpi/ic_launcher_background.png
  20. BIN
      src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  21. BIN
      src/versionDev/ic_launcher-web.png
  22. 57 0
      src/versionDev/res/drawable/ic_launcher_foreground.xml
  23. 23 0
      src/versionDev/res/mipmap-anydpi-v26/ic_launcher.xml
  24. 23 0
      src/versionDev/res/mipmap-anydpi-v26/ic_launcher_round.xml
  25. BIN
      src/versionDev/res/mipmap-hdpi/ic_launcher.png
  26. BIN
      src/versionDev/res/mipmap-hdpi/ic_launcher_background.png
  27. BIN
      src/versionDev/res/mipmap-hdpi/ic_launcher_round.png
  28. BIN
      src/versionDev/res/mipmap-mdpi/ic_launcher.png
  29. BIN
      src/versionDev/res/mipmap-mdpi/ic_launcher_background.png
  30. BIN
      src/versionDev/res/mipmap-mdpi/ic_launcher_round.png
  31. BIN
      src/versionDev/res/mipmap-xhdpi/ic_launcher.png
  32. BIN
      src/versionDev/res/mipmap-xhdpi/ic_launcher_background.png
  33. BIN
      src/versionDev/res/mipmap-xhdpi/ic_launcher_round.png
  34. BIN
      src/versionDev/res/mipmap-xxhdpi/ic_launcher.png
  35. BIN
      src/versionDev/res/mipmap-xxhdpi/ic_launcher_background.png
  36. BIN
      src/versionDev/res/mipmap-xxhdpi/ic_launcher_round.png
  37. BIN
      src/versionDev/res/mipmap-xxxhdpi/ic_launcher.png
  38. BIN
      src/versionDev/res/mipmap-xxxhdpi/ic_launcher_background.png
  39. BIN
      src/versionDev/res/mipmap-xxxhdpi/ic_launcher_round.png

+ 1 - 0
src/gplay/AndroidManifest.xml

@@ -23,6 +23,7 @@
     <application
         android:name=".MainApp"
         android:icon="@mipmap/ic_launcher"
+		android:roundIcon="@mipmap/ic_launcher_round"
         android:label="@string/app_name"
         android:fullBackupContent="@xml/backup_config"
         android:theme="@style/Theme.ownCloud.Toolbar"

+ 1 - 0
src/main/AndroidManifest.xml

@@ -58,6 +58,7 @@
     <application
         android:name=".MainApp"
         android:icon="@mipmap/ic_launcher"
+        android:roundIcon="@mipmap/ic_launcher_round"
         android:label="@string/app_name"
         android:fullBackupContent="@xml/backup_config"
         android:theme="@style/Theme.ownCloud.Toolbar"

+ 30 - 0
src/main/res/drawable/ic_launcher_foreground.xml

@@ -0,0 +1,30 @@
+<!--
+  Nextcloud Android client application
+
+  Copyright (C) 2017 Andy Scherzinger
+
+  This program is free software; you can redistribute it and/or
+  modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+  License as published by the Free Software Foundation; either
+  version 3 of the License, or any later version.
+
+  This program 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 AFFERO GENERAL PUBLIC LICENSE for more details.
+
+  You should have received a copy of the GNU Affero General Public
+  License along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+        android:width="108dp"
+        android:height="108dp"
+        android:viewportWidth="1636.9231"
+        android:viewportHeight="1636.923">
+    <group android:translateX="286.46155"
+            android:translateY="286.46152">
+        <path
+            android:pathData="m532.7,316.1c-93.4,0 -171.7,63.9 -195.7,149.9 -20.9,-46 -66.9,-78.6 -120.4,-78.6 -72.8,0 -132.6,59.8 -132.6,132.6 -0,72.8 59.8,132.6 132.6,132.7 53.5,-0 99.5,-32.6 120.4,-78.6 23.9,86 102.4,149.9 195.7,149.9 92.8,0 170.8,-63.2 195.3,-148.5 21.2,45.1 66.5,77.2 119.4,77.2C920.2,652.7 980,592.8 980,520 980,447.2 920.1,387.4 847.4,387.4 794.5,387.4 749.2,419.4 727.9,464.6 703.5,379.3 625.5,316.1 532.7,316.1ZM532.7,393.9c70.1,-0 126.1,56 126.1,126.1 0,70.1 -56,126.1 -126.1,126.1 -70.1,-0 -126.1,-56 -126.1,-126.1 0,-70.1 56,-126.1 126.1,-126.1zM216.6,465.3c30.7,0 54.8,24.1 54.8,54.8 0,30.7 -24,54.8 -54.8,54.8 -30.7,-0 -54.8,-24.1 -54.8,-54.8 0,-30.7 24.1,-54.8 54.8,-54.8zM847.4,465.3c30.7,-0 54.8,24.1 54.8,54.8 0,30.7 -24.1,54.8 -54.8,54.8 -30.7,-0 -54.8,-24.1 -54.8,-54.8 0,-30.7 24.1,-54.8 54.8,-54.8z"
+            android:fillColor="#ffffff"/>
+    </group>
+</vector>

+ 23 - 0
src/main/res/mipmap-anydpi-v26/ic_launcher.xml

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Nextcloud Android client application
+
+  Copyright (C) 2017 Andy Scherzinger
+
+  This program is free software; you can redistribute it and/or
+  modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+  License as published by the Free Software Foundation; either
+  version 3 of the License, or any later version.
+
+  This program 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 AFFERO GENERAL PUBLIC LICENSE for more details.
+
+  You should have received a copy of the GNU Affero General Public
+  License along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+    <background android:drawable="@mipmap/ic_launcher_background"/>
+    <foreground android:drawable="@drawable/ic_launcher_foreground"/>
+</adaptive-icon>

+ 23 - 0
src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Nextcloud Android client application
+
+  Copyright (C) 2017 Andy Scherzinger
+
+  This program is free software; you can redistribute it and/or
+  modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+  License as published by the Free Software Foundation; either
+  version 3 of the License, or any later version.
+
+  This program 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 AFFERO GENERAL PUBLIC LICENSE for more details.
+
+  You should have received a copy of the GNU Affero General Public
+  License along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+    <background android:drawable="@mipmap/ic_launcher_background"/>
+    <foreground android:drawable="@drawable/ic_launcher_foreground"/>
+</adaptive-icon>

BIN
src/main/res/mipmap-hdpi/ic_launcher.png


BIN
src/main/res/mipmap-hdpi/ic_launcher_background.png


BIN
src/main/res/mipmap-hdpi/ic_launcher_round.png


BIN
src/main/res/mipmap-mdpi/ic_launcher.png


BIN
src/main/res/mipmap-mdpi/ic_launcher_background.png


BIN
src/main/res/mipmap-mdpi/ic_launcher_round.png


BIN
src/main/res/mipmap-xhdpi/ic_launcher.png


BIN
src/main/res/mipmap-xhdpi/ic_launcher_background.png


BIN
src/main/res/mipmap-xhdpi/ic_launcher_round.png


BIN
src/main/res/mipmap-xxhdpi/ic_launcher.png


BIN
src/main/res/mipmap-xxhdpi/ic_launcher_background.png


BIN
src/main/res/mipmap-xxhdpi/ic_launcher_round.png


BIN
src/main/res/mipmap-xxxhdpi/ic_launcher.png


BIN
src/main/res/mipmap-xxxhdpi/ic_launcher_background.png


BIN
src/main/res/mipmap-xxxhdpi/ic_launcher_round.png


BIN
src/versionDev/ic_launcher-web.png


+ 57 - 0
src/versionDev/res/drawable/ic_launcher_foreground.xml

@@ -0,0 +1,57 @@
+<!--
+  Nextcloud Android client application
+
+  Copyright (C) 2017 Andy Scherzinger
+
+  This program is free software; you can redistribute it and/or
+  modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+  License as published by the Free Software Foundation; either
+  version 3 of the License, or any later version.
+
+  This program 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 AFFERO GENERAL PUBLIC LICENSE for more details.
+
+  You should have received a copy of the GNU Affero General Public
+  License along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+        android:width="108dp"
+        android:height="108dp"
+        android:viewportWidth="1636.9231"
+        android:viewportHeight="1636.923">
+    <group android:translateX="286.46155"
+            android:translateY="286.46152">
+        <path
+            android:pathData="m532.7,316.1c-93.4,0 -171.7,63.9 -195.7,149.9 -20.9,-46 -66.9,-78.6 -120.4,-78.6 -72.8,0 -132.6,59.8 -132.6,132.6 -0,72.8 59.8,132.6 132.6,132.7 53.5,-0 99.5,-32.6 120.4,-78.6 23.9,86 102.4,149.9 195.7,149.9 92.8,0 170.8,-63.2 195.3,-148.5 21.2,45.1 66.5,77.2 119.4,77.2C920.2,652.7 980,592.8 980,520 980,447.2 920.1,387.4 847.4,387.4 794.5,387.4 749.2,419.4 727.9,464.6 703.5,379.3 625.5,316.1 532.7,316.1ZM532.7,393.9c70.1,-0 126.1,56 126.1,126.1 0,70.1 -56,126.1 -126.1,126.1 -70.1,-0 -126.1,-56 -126.1,-126.1 0,-70.1 56,-126.1 126.1,-126.1zM216.6,465.3c30.7,0 54.8,24.1 54.8,54.8 0,30.7 -24,54.8 -54.8,54.8 -30.7,-0 -54.8,-24.1 -54.8,-54.8 0,-30.7 24.1,-54.8 54.8,-54.8zM847.4,465.3c30.7,-0 54.8,24.1 54.8,54.8 0,30.7 -24.1,54.8 -54.8,54.8 -30.7,-0 -54.8,-24.1 -54.8,-54.8 0,-30.7 24.1,-54.8 54.8,-54.8z"
+            android:fillColor="#ffffff"/>
+        <path
+            android:pathData="m478.9,880.6q0,31.8 -17.7,48.7 -17.7,16.8 -50.9,16.8L374.4,946.1L374.4,817.6h39.7q30.7,0 47.7,16.5 17.1,16.5 17.1,46.5zM456.7,881.3q0,-46.1 -43.2,-46.1h-18.2v93.3h14.9q46.4,0 46.4,-47.1z"
+            android:strokeLineCap="butt"
+            android:fillAlpha="1"
+            android:strokeColor="#00000000"
+            android:fillColor="#ffffff"
+            android:strokeWidth="1"
+            android:strokeLineJoin="miter"
+            android:strokeAlpha="1"/>
+        <path
+            android:pathData="m546.8,947.9q-22.7,0 -35.5,-13.2 -12.7,-13.3 -12.7,-36.5 0,-23.8 11.9,-37.4 11.9,-13.6 32.6,-13.6 19.2,0 30.4,11.7 11.2,11.7 11.2,32.2v11.2h-64.8q0.4,14.2 7.6,21.8 7.2,7.6 20.3,7.6 8.6,0 16,-1.6 7.5,-1.7 16,-5.4v16.8q-7.6,3.6 -15.3,5.1 -7.7,1.5 -17.7,1.5zM543,862.8q-9.8,0 -15.8,6.2 -5.9,6.2 -7,18.2h44.1q-0.2,-12 -5.8,-18.2 -5.6,-6.2 -15.5,-6.2z"
+            android:strokeLineCap="butt"
+            android:fillAlpha="1"
+            android:strokeColor="#00000000"
+            android:fillColor="#ffffff"
+            android:strokeWidth="1"
+            android:strokeLineJoin="miter"
+            android:strokeAlpha="1"/>
+        <path
+            android:pathData="m630.2,946.1 l-36.9,-97.2h21.8l19.8,56.5q5.1,14.2 6.2,23h0.7q0.8,-6.3 6.2,-23l19.8,-56.5h22l-37.1,97.2z"
+            android:strokeLineCap="butt"
+            android:fillAlpha="1"
+            android:strokeColor="#00000000"
+            android:fillColor="#ffffff"
+            android:strokeWidth="1"
+            android:strokeLineJoin="miter"
+            android:strokeAlpha="1"/>
+    </group>
+</vector>

+ 23 - 0
src/versionDev/res/mipmap-anydpi-v26/ic_launcher.xml

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Nextcloud Android client application
+
+  Copyright (C) 2017 Andy Scherzinger
+
+  This program is free software; you can redistribute it and/or
+  modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+  License as published by the Free Software Foundation; either
+  version 3 of the License, or any later version.
+
+  This program 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 AFFERO GENERAL PUBLIC LICENSE for more details.
+
+  You should have received a copy of the GNU Affero General Public
+  License along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+    <background android:drawable="@mipmap/ic_launcher_background"/>
+    <foreground android:drawable="@drawable/ic_launcher_foreground"/>
+</adaptive-icon>

+ 23 - 0
src/versionDev/res/mipmap-anydpi-v26/ic_launcher_round.xml

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  Nextcloud Android client application
+
+  Copyright (C) 2017 Andy Scherzinger
+
+  This program is free software; you can redistribute it and/or
+  modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
+  License as published by the Free Software Foundation; either
+  version 3 of the License, or any later version.
+
+  This program 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 AFFERO GENERAL PUBLIC LICENSE for more details.
+
+  You should have received a copy of the GNU Affero General Public
+  License along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-->
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+    <background android:drawable="@mipmap/ic_launcher_background"/>
+    <foreground android:drawable="@drawable/ic_launcher_foreground"/>
+</adaptive-icon>

BIN
src/versionDev/res/mipmap-hdpi/ic_launcher.png


BIN
src/versionDev/res/mipmap-hdpi/ic_launcher_background.png


BIN
src/versionDev/res/mipmap-hdpi/ic_launcher_round.png


BIN
src/versionDev/res/mipmap-mdpi/ic_launcher.png


BIN
src/versionDev/res/mipmap-mdpi/ic_launcher_background.png


BIN
src/versionDev/res/mipmap-mdpi/ic_launcher_round.png


BIN
src/versionDev/res/mipmap-xhdpi/ic_launcher.png


BIN
src/versionDev/res/mipmap-xhdpi/ic_launcher_background.png


BIN
src/versionDev/res/mipmap-xhdpi/ic_launcher_round.png


BIN
src/versionDev/res/mipmap-xxhdpi/ic_launcher.png


BIN
src/versionDev/res/mipmap-xxhdpi/ic_launcher_background.png


BIN
src/versionDev/res/mipmap-xxhdpi/ic_launcher_round.png


BIN
src/versionDev/res/mipmap-xxxhdpi/ic_launcher.png


BIN
src/versionDev/res/mipmap-xxxhdpi/ic_launcher_background.png


BIN
src/versionDev/res/mipmap-xxxhdpi/ic_launcher_round.png