Common/Touch: add adaptive icon
7
common/src/dev/res/values/colors.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="primary">#00897B</color>
|
||||
<color name="primary_dark">#43A047</color>
|
||||
<color name="brand">#7CB342</color>
|
||||
<color name="brand_dark">#C0CA33</color>
|
||||
</resources>
|
BIN
common/src/main/ic_launcher-web.png
Normal file
After Width: | Height: | Size: 22 KiB |
4
common/src/main/res/drawable/ic_launcher_background.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/primary"/>
|
||||
</shape>
|
27
common/src/main/res/drawable/ic_launcher_foreground.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="28.575"
|
||||
android:viewportHeight="28.575">
|
||||
<group>
|
||||
<clip-path android:pathData="M0,-0h28.575v28.575h-28.575z M 0,0"/>
|
||||
<path
|
||||
android:pathData="M14.287,7.8164C11.2312,7.7614 8.3402,10.0081 7.6245,12.9765c-0.3593,1.3612 -0.2676,2.9199 0.2513,4.176 0.0421,0.0104 0.0796,0.0921 0.1169,0.0889 0.0395,0.0644 0.0747,0.0856 0.113,0.1132 0.0486,0.0515 0.0929,0.1212 0.1429,0.1378 0.051,0.0997 0.1119,0.101 0.1722,0.2049 0.0586,0.0174 0.1125,0.1273 0.1713,0.1444 0.0562,0.0974 0.1178,0.1038 0.1741,0.2011 0.2481,-0.0169 -0.1486,0.8926 0.3142,1.1419 1.6021,1.6529 3.2569,3.2553 4.8806,4.8876 5.8195,5.8195 7.2014,7.1723 7.2014,7.1723l18.5703,-0.0769c0,0 -0.1516,-0.28 -16.0351,-16.1635C22.182,13.2836 20.6881,11.5433 19.1559,9.8378 17.8856,8.5512 16.0931,7.8088 14.287,7.8164Z"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="0.1403918"
|
||||
android:fillColor="#000000"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillAlpha="0.06944442"
|
||||
android:strokeLineCap="butt"/>
|
||||
</group>
|
||||
<path
|
||||
android:pathData="m12.3633,15.8884v0.7869a0.9975,0.9975 0,0 1,0.5748 0.1923,0.9221 0.9221,0 0,1 0.2951,0.3611c0.0644,0.1435 0.0882,0.3056 0.0616,0.4605a0.7922,0.7922 0,0 1,-0.1761 0.3757,0.8738 0.8738,0 0,1 -0.3373,0.243 0.9224,0.9224 0,0 1,-0.4181 0.0648v1.9798l4.1187,-2.2332 -4.1188,-2.2311zM14.2873,7.4083c-3.799,0 -6.879,3.08 -6.879,6.8794a6.8794,6.8794 0,0 0,0.4496 2.4382c0.1008,-0.2638 0.2164,-0.5214 0.3621,-0.7632 0.0742,-0.1232 0.1558,-0.2426 0.2102,-0.3751 0.0546,-0.133 0.0798,-0.283 0.038,-0.4203 -0.0238,-0.0781 -0.0686,-0.1486 -0.117,-0.2142 -0.0485,-0.0658 -0.1018,-0.1279 -0.146,-0.1966 -0.1125,-0.1745 -0.1642,-0.3894 -0.1349,-0.5949 0.0294,-0.2058 0.1402,-0.4003 0.3074,-0.5238 0.1489,-0.11 0.337,-0.1596 0.5229,-0.1526a0.9322,0.9322 0,0 1,0.1834 0.0252c0.2402,0.0584 0.4521,0.2086 0.6093,0.3989 0.1948,0.2365 0.3093,0.5358 0.3373,0.8409 0.0283,0.3051 -0.028,0.6159 -0.1458,0.8986 -0.2113,0.5067 -0.6105,0.9157 -0.8303,1.4187 -0.1794,0.4109 -0.2309,0.8692 -0.2065,1.3171 0.0032,0.0417 0.009,0.0831 0.0126,0.1249a6.8794,6.8794 0,0 0,1.9205 1.6876,9.354 9.354,0 0,1 -0.0683,-1.1197c0.001,-0.2978 0.0161,-0.5949 0.0448,-0.8888 -0.181,-0.1246 -0.3453,-0.2701 -0.4619,-0.4553 -0.2074,-0.3299 -0.2466,-0.7474 -0.1612,-1.1277 0.0854,-0.3803 0.2869,-0.7267 0.5291,-1.032 0.3995,-0.5032 0.9213,-0.9104 1.5044,-1.1799 -0.0168,-0.0231 -0.0336,-0.0467 -0.0476,-0.0666 -0.2147,-0.3475 -0.3415,-0.748 -0.3723,-1.1554 -0.0314,-0.4121 0.0336,-0.8247 0.0609,-1.2369 0.0196,-0.2875 0.0207,-0.5753 0.0375,-0.8629 0.0196,-0.3327 0.0602,-0.6658 0.1535,-0.9856 0.0338,-0.1159 0.0753,-0.2316 0.1411,-0.3331a0.7432,0.7432 0,0 1,0.3153 -0.2735c0.1451,-0.0574 0.2713,-0.0697 0.4115,-0.0462 0.1173,0.0252 0.2258,0.0833 0.3208,0.1568 0.0952,0.0731 0.1773,0.1614 0.255,0.2529a3.8722,3.8722 0,0 1,0.5506 0.8574,1.8949 1.8949,0 0,1 0.5795,0 3.8663,3.8663 0,0 1,0.5509 -0.8576c0.0775,-0.0915 0.16,-0.1799 0.255,-0.2531 0.0952,-0.0733 0.2035,-0.1316 0.3209,-0.1565a0.6728,0.6728 0,0 1,0.4139 0.0462,0.7441 0.7441,0 0,1 0.3153,0.2743c0.0658,0.1012 0.1072,0.2164 0.1411,0.3324 0.0932,0.3198 0.1338,0.6529 0.1534,0.9854 0.0168,0.2878 0.0182,0.5764 0.0378,0.8636 0.0273,0.4123 0.0928,0.8244 0.0616,1.2363a2.5761,2.5761 0,0 1,-0.3734 1.1557c-0.0168,0.0266 -0.0373,0.0508 -0.0546,0.077 0.1307,0.1472 0.3173,0.2724 0.4764,0.3258a1.0377,1.0377 0,0 0,0.5562 0.0227,0.8758 0.8758,0 0,0 0.2833,-0.1201 0.6648,0.6648 0,0 0,0.2107 -0.2217c0.063,-0.1106 0.0882,-0.2379 0.1022,-0.3646 0.0357,-0.323 0,-0.6495 -0.0266,-0.9733 -0.0182,-0.2102 -0.0329,-0.4241 0.0143,-0.6299 0.0319,-0.1393 0.0943,-0.2755 0.1988,-0.3727a0.5867,0.5867 0,0 1,0.2466 -0.1344,0.6962 0.6962,0 0,1 0.2813,-0.0154c0.2016,0.0294 0.3902,0.1447 0.5028,0.3142 0.064,0.0963 0.1029,0.2076 0.1262,0.3209 0.0232,0.1134 0.0318,0.2288 0.038,0.3443 0.0219,0.4035 0.021,0.8076 0.0098,1.2117 -0.0094,0.3527 -0.0294,0.7152 -0.1705,1.0386 -0.1814,0.415 -0.5467,0.7248 -0.9413,0.9473a3.7418,3.7418 0,0 1,-0.842 0.3443c0.2557,0.8163 0.3888,1.7195 0.3888,2.6356a9.3382,9.3382 0,0 1,-0.0714 1.1279,6.8791 6.8791,0 0,0 3.3872,-5.9175c-0.0004,-3.7996 -3.0804,-6.8794 -6.8794,-6.8794z"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="0.14039181"
|
||||
android:fillColor="#ffffff"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillAlpha="1"
|
||||
android:strokeLineCap="butt"/>
|
||||
</vector>
|
4
common/src/main/res/drawable/icon_background.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/primary"/>
|
||||
</shape>
|
5
common/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Normal file
|
@ -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="@drawable/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
|
@ -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="@drawable/ic_launcher_background"/>
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
BIN
common/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 6 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 6 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
common/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
common/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
After Width: | Height: | Size: 13 KiB |
|
@ -59,10 +59,12 @@ android {
|
|||
dev {
|
||||
dimension "stage"
|
||||
applicationIdSuffix ".dev"
|
||||
manifestPlaceholders = [label: appName + "-Dev"]
|
||||
}
|
||||
mock {
|
||||
dimension "stage"
|
||||
applicationIdSuffix ".mock"
|
||||
manifestPlaceholders = [label: appName + "-Mock"]
|
||||
}
|
||||
free {
|
||||
dimension "libs"
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/icon_notext"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:label="${label}"
|
||||
android:supportsRtl="true"
|
||||
android:name="de.nicidienase.chaosflix.ChaosflixApplication"
|
||||
|
|
|
@ -63,10 +63,12 @@ android {
|
|||
dev {
|
||||
dimension "stage"
|
||||
applicationIdSuffix ".dev"
|
||||
manifestPlaceholders = [label: appName + "-Dev"]
|
||||
}
|
||||
mock {
|
||||
dimension "stage"
|
||||
applicationIdSuffix ".mock"
|
||||
manifestPlaceholders = [label: appName + "-Mock"]
|
||||
}
|
||||
free {
|
||||
dimension "libs"
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
<application
|
||||
android:name="de.nicidienase.chaosflix.ChaosflixApplication"
|
||||
android:allowBackup="true"
|
||||
android:icon="@drawable/icon_notext"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:label="${label}"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme"
|
||||
|
|