diff options
author | Mario Danic <mario@lovelyhq.com> | 2017-11-28 11:08:51 +0300 |
---|---|---|
committer | Mario Danic <mario@lovelyhq.com> | 2017-11-28 11:08:51 +0300 |
commit | 0fe6b76ffdbf754ade213518745477cd7cb0c2c0 (patch) | |
tree | 129206c5489340587c28c600d0795d8505a00a3b /app/src/main | |
parent | ce499aae55aecf42e487ed03fe91d798c2ac3d61 (diff) |
Add an icon
Signed-off-by: Mario Danic <mario@lovelyhq.com>
Diffstat (limited to 'app/src/main')
22 files changed, 20 insertions, 123 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index e0b4898c7..7bf900a7e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -19,14 +19,13 @@ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <application - tools:replace="label, icon, theme, roundIcon, name, allowBackup" + tools:replace="label, icon, roundIcon, theme, name, allowBackup" android:name=".application.NextcloudTalkApplication" android:allowBackup="true" android:fullBackupContent="@xml/backup_config" android:icon="@mipmap/ic_launcher" android:label="@string/nc_app_name" android:networkSecurityConfig="@xml/network_security_config" - android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> diff --git a/app/src/main/ic_launcher-web.png b/app/src/main/ic_launcher-web.png Binary files differnew file mode 100644 index 000000000..c832217a3 --- /dev/null +++ b/app/src/main/ic_launcher-web.png 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 index e499363b7..000000000 --- a/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,114 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<vector - xmlns:android="http://schemas.android.com/apk/res/android" - android:width="24dp" - android:height="24dp" - android:viewportHeight="108.0" - android:viewportWidth="108.0"> - <path - android:fillColor="#26A69A" - android:pathData="M0,0h108v108h-108z" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M19,0L19,108" - android:strokeColor="#33FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M9,0L9,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M39,0L39,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M29,0L29,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M59,0L59,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M49,0L49,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M79,0L79,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M69,0L69,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M89,0L89,108" - android:strokeColor="#33FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M99,0L99,108" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M0,89L108,89" - android:strokeColor="#33FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M0,99L108,99" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M0,69L108,69" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M0,79L108,79" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M0,49L108,49" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M0,59L108,59" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M0,29L108,29" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M0,39L108,39" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M0,19L108,19" - android:strokeColor="#33FFFFFF" - android:strokeWidth="0.8"/> - <path - android:fillColor="#00000000" - android:pathData="M0,9L108,9" - android:strokeColor="#66FFFFFF" - android:strokeWidth="0.8"/> -</vector> - diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 000000000..60e42117a --- /dev/null +++ b/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,13 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="108dp" + android:height="108dp" + android:viewportWidth="35.555557" + android:viewportHeight="35.555557"> + <group android:translateX="9.777778" + android:translateY="9.777778"> + <path + android:pathData="m7.999,0.999a6.999,6.999 0,0 0,-6.999 7,6.999 6.999,0 0,0 6.999,6.999 6.999,6.999 0,0 0,3.631 -1.024c0.86,0.342 2.787,1.356 3.246,0.918 0.479,-0.458 -0.563,-2.612 -0.812,-3.412a6.999,6.999 0,0 0,0.935 -3.481,6.999 6.999,0 0,0 -6.999,-6.999zM8,3.66a4.34,4.34 0,0 1,4.34 4.34,4.34 4.34,0 0,1 -4.34,4.34 4.34,4.34 0,0 1,-4.34 -4.34,4.34 4.34,0 0,1 4.34,-4.34z" + android:fillColor="#fff" + android:strokeWidth="0.14"/> + </group> +</vector> diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index c4a603d4c..7353dbd1f 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@drawable/ic_launcher_background"/> - <foreground android:drawable="@mipmap/ic_launcher_foreground"/> + <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 index c4a603d4c..000000000 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /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="@drawable/ic_launcher_background"/> - <foreground android:drawable="@mipmap/ic_launcher_foreground"/> -</adaptive-icon>
\ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png Binary files differindex 550730310..6cdfcd234 100644 --- a/app/src/main/res/mipmap-hdpi/ic_launcher.png +++ b/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 4e526c95b..000000000 --- a/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png Binary files differdeleted file mode 100644 index 8fab6a3a5..000000000 --- a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +++ /dev/null diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png Binary files differindex 6bc7fcd6f..9e77585fa 100644 --- a/app/src/main/res/mipmap-mdpi/ic_launcher.png +++ b/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 2c38c7190..000000000 --- a/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png Binary files differdeleted file mode 100644 index 1eecc0e7d..000000000 --- a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +++ /dev/null diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png Binary files differindex ec87dcebe..1b40e1da0 100644 --- a/app/src/main/res/mipmap-xhdpi/ic_launcher.png +++ b/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 072467eaa..000000000 --- a/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png Binary files differdeleted file mode 100644 index 05ca079ca..000000000 --- a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +++ /dev/null diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png Binary files differindex 6f67f21ba..47a667e4b 100644 --- a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +++ b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 78a6b7a34..000000000 --- a/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png Binary files differdeleted file mode 100644 index 8bac0f274..000000000 --- a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +++ /dev/null diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png Binary files differindex 0327e13fa..4ffa60473 100644 --- a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +++ b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 68ebe33fe..000000000 --- a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png Binary files differdeleted file mode 100644 index bacd3e758..000000000 --- a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +++ /dev/null diff --git a/app/src/main/res/values/ic_launcher_background.xml b/app/src/main/res/values/ic_launcher_background.xml new file mode 100644 index 000000000..2506c08b9 --- /dev/null +++ b/app/src/main/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <color name="ic_launcher_background">#0082C9</color> +</resources>
\ No newline at end of file |