summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md3
-rw-r--r--android/src/main/res/drawable/ic_launcher_foreground.xml21
-rw-r--r--android/src/main/res/mipmap-anydpi-v26/ic_launcher.xml5
-rw-r--r--android/src/main/res/values/colors.xml1
4 files changed, 30 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a18fae9af6..64bbc5ff0c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -51,6 +51,9 @@ This release is for desktop only.
#### Linux
- Always enable `src_valid_mark` config option when connecting to allow policty based routing.
+#### Android
+- Added support of adaptive icons (available only from Android 8).
+
### Changed
- Allow whitespace in account token in CLI.
- Read account token from standard input unless given as an argument in CLI.
diff --git a/android/src/main/res/drawable/ic_launcher_foreground.xml b/android/src/main/res/drawable/ic_launcher_foreground.xml
new file mode 100644
index 0000000000..a776994b25
--- /dev/null
+++ b/android/src/main/res/drawable/ic_launcher_foreground.xml
@@ -0,0 +1,21 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="108dp"
+ android:height="108dp"
+ android:viewportWidth="108"
+ android:viewportHeight="108">
+ <path android:pathData="M23.566,50.511L26.214,46.803C26.214,46.83 26.049,52.143 26.049,52.143L26.793,48.131C29,52.614 34.407,58.812 39.345,62.133C39.869,62.493 40.31,62.88 40.614,63.267C41.248,63.516 41.883,63.655 42.517,63.765C42.848,63.821 43.207,63.848 43.538,63.876C43.869,63.904 44.227,63.904 44.558,63.904C44.889,63.904 45.22,63.876 45.551,63.848C45.882,63.821 46.213,63.765 46.544,63.71C46.875,63.655 47.206,63.599 47.51,63.489C47.841,63.406 48.144,63.323 48.475,63.212C48.779,63.129 49.11,62.991 49.413,62.88C49.717,62.742 50.02,62.631 50.324,62.465C50.627,62.299 50.93,62.16 51.206,61.994C51.51,61.856 51.786,61.662 52.089,61.496C52.392,61.33 52.668,61.137 52.972,60.971C53.275,60.805 53.551,60.611 53.827,60.445C54.103,60.251 54.406,60.085 54.682,59.891C54.958,59.698 55.261,59.532 55.565,59.338L55.841,59.172L55.978,59.255L57.965,60.583L55.951,60.057C55.758,60.279 55.565,60.5 55.344,60.722C55.096,60.971 54.82,61.22 54.572,61.469C54.296,61.69 54.02,61.939 53.716,62.133C53.413,62.354 53.137,62.548 52.806,62.742C52.199,63.129 51.537,63.461 50.848,63.738C50.517,63.876 50.158,64.014 49.827,64.125C49.468,64.236 49.137,64.346 48.779,64.43C48.42,64.513 48.062,64.596 47.703,64.651C47.344,64.706 46.986,64.734 46.627,64.789C45.91,64.817 45.165,64.817 44.448,64.706C44.089,64.651 43.731,64.596 43.372,64.513C43.013,64.43 42.682,64.319 42.351,64.208C41.772,63.987 41.193,63.71 40.669,63.378C40.669,63.378 38.765,63.655 39.538,65.094C40.31,66.533 41.469,66.394 40.917,68.082C40.531,68.995 39.979,69.881 39.372,70.711C38.103,72.427 36.117,73.948 36.31,74.862C45.331,86.013 65.661,84.464 73.385,74.502C73.274,73.063 71.012,72.371 69.44,68.857C69.881,68.995 70.543,69.189 70.543,69.161C70.543,69.134 68.668,66.09 68.585,65.785L69.799,65.868C69.799,65.868 68.199,63.876 68.143,63.682L69.771,63.461C69.771,63.461 67.73,61.109 67.702,60.915L69.771,61.247L67.509,58.508L68.585,58.508L67.316,56.654C67.095,56.571 66.875,56.515 66.654,56.46C66.378,56.377 66.102,56.294 65.826,56.211C62.737,55.243 59.813,54.357 56.999,52.586C53.054,50.123 49.524,47.107 46.875,44.755L41.551,42.154C36.448,41.767 31.648,41.905 28.724,42.486L30.6,39.276L27.731,42.735C27.538,42.68 27.483,42.569 27.483,42.569L27.676,38.308L26.766,42.154C26.49,42.016 26.159,41.96 25.828,41.96C24.559,41.96 23.538,42.984 23.538,44.257C23.538,45.419 24.394,46.388 25.525,46.526L23.566,50.511L23.566,50.511L23.566,50.511L23.566,50.511Z"
+ android:fillColor="#D0933A"
+ android:fillType="evenOdd" />
+ <path android:pathData="M26.668,40.389C26.398,40.255 26.075,40.154 25.778,40.154C24.537,40.154 23.538,41.396 23.538,42.94C23.538,44.283 24.321,45.424 25.346,45.692C25.373,45.692 25.373,45.692 25.4,45.692C26.075,45.424 27.423,43.175 27.208,41.765C27.127,41.262 26.938,40.792 26.668,40.389L26.668,40.389L26.668,40.389L26.668,40.389Z"
+ android:fillColor="#FFCC86"
+ android:fillType="evenOdd" />
+ <path android:pathData="M46.765,39.239C46.34,38.031 46.454,36.469 47.048,34.996C47.896,32.963 49.508,31.608 51.036,31.608C51.347,31.608 51.63,31.667 51.912,31.785C52.789,30.96 53.808,30.282 54.939,29.811C61.19,27.218 70.326,31.844 72.673,38.237C73.805,41.331 73.465,44.719 72.503,47.813C71.711,50.346 68.826,54 69.901,56.769C69.477,56.651 60.539,53.764 58.05,52.114C54.062,49.521 50.47,46.339 47.783,43.864L47.698,43.776L38.619,39.298C38.506,39.239 38.393,39.18 38.308,39.121C39.609,39.121 44.559,39.74 46.765,39.239"
+ android:fillColor="#FDD321"
+ android:fillType="evenOdd" />
+ <path android:pathData="M50.184,37.688C49.907,37.688 49.661,37.641 49.476,37.569C48.984,37.402 48.615,37.093 48.369,36.616C47.938,35.806 48.061,34.687 48.646,33.639C49.415,32.281 50.861,31.328 52.184,31.328C52.43,31.328 52.676,31.376 52.923,31.447C53.569,31.661 54.03,32.162 54.184,32.876C54.369,33.639 54.215,34.52 53.723,35.354C52.953,36.712 51.476,37.688 50.184,37.688Z"
+ android:fillColor="#FFF"
+ android:fillType="nonZero" />
+ <path android:pathData="M52.153,31.709C52.338,31.709 52.523,31.733 52.707,31.804C53.2,31.971 53.569,32.4 53.692,32.972C53.846,33.662 53.723,34.472 53.261,35.235C52.584,36.45 51.261,37.331 50.153,37.331C49.969,37.331 49.784,37.307 49.63,37.259L49.63,37.259L49.63,37.259C49.169,37.117 48.923,36.783 48.8,36.521C48.43,35.806 48.523,34.758 49.046,33.805C49.753,32.59 51.046,31.709 52.153,31.709M52.153,30.994C50.676,30.994 49.046,32.043 48.184,33.543C47.538,34.663 47.446,35.878 47.907,36.807C48.184,37.355 48.646,37.736 49.23,37.95C49.507,38.046 49.815,38.093 50.153,38.093C51.63,38.093 53.261,37.045 54.092,35.544C54.615,34.639 54.769,33.686 54.584,32.853C54.4,32.019 53.846,31.423 53.046,31.161C52.8,31.042 52.492,30.994 52.153,30.994L52.153,30.994Z"
+ android:fillColor="#1D2A3A"
+ android:fillType="nonZero" />
+</vector>
diff --git a/android/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000000..7353dbd1fd
--- /dev/null
+++ b/android/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+<?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/android/src/main/res/values/colors.xml b/android/src/main/res/values/colors.xml
index 9fb5760781..8f53508029 100644
--- a/android/src/main/res/values/colors.xml
+++ b/android/src/main/res/values/colors.xml
@@ -23,6 +23,7 @@
<color name="red40">#66E34039</color>
<color name="yellow">#FFD323</color>
<color name="textInputBorder">#234161</color>
+ <color name="ic_launcher_background">@color/darkBlue</color>
<!-- Switch Colors -->
<color name="switch_thumb_fill_checked">@color/green</color>
<color name="switch_thumb_fill_unchecked">@color/red</color>