1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 19:06:53 +01:00

Added custom icon for iTag devices

This commit is contained in:
TaaviE 2020-01-31 19:38:13 +02:00 committed by Gitea
parent a773258f49
commit a943adbac7
3 changed files with 107 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public enum DeviceType {
MAKIBESHR3(150, R.drawable.ic_device_default, R.drawable.ic_device_hplus_disabled, R.string.devicetype_makibes_hr3),
BANGLEJS(160, R.drawable.ic_device_zetime, R.drawable.ic_device_zetime_disabled, R.string.devicetype_banglejs),
MIJIA_LYWSD02(200, R.drawable.ic_device_pebble, R.drawable.ic_device_pebble_disabled, R.string.devicetype_mijia_lywsd02),
ITAG(250, R.drawable.ic_device_default, R.drawable.ic_device_default_disabled, R.string.devicetype_itag),
ITAG(250, R.drawable.ic_device_itag, R.drawable.ic_device_itag_disabled, R.string.devicetype_itag),
VIBRATISSIMO(300, R.drawable.ic_device_lovetoy, R.drawable.ic_device_lovetoy_disabled, R.string.devicetype_vibratissimo),
TEST(1000, R.drawable.ic_device_default, R.drawable.ic_device_default_disabled, R.string.devicetype_test);

View File

@ -0,0 +1,53 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="26.947369dp"
android:height="26.947369dp"
android:viewportWidth="26.947369"
android:viewportHeight="26.947369">
<path
android:pathData="M3.6116,2.6188L23.3114,2.6188A0.8541,0.8541 0,0 1,24.1655 3.4729L24.1655,22.4136A0.8541,0.8541 0,0 1,23.3114 23.2677L3.6116,23.2677A0.8541,0.8541 0,0 1,2.7575 22.4136L2.7575,3.4729A0.8541,0.8541 0,0 1,3.6116 2.6188z"
android:strokeWidth="0.99516809"
android:fillColor="#6cb8f7"
android:fillAlpha="1"/>
<path
android:pathData="M3.6108,3.3934L23.3107,3.3934A0.8541,0.8541 0,0 1,24.1648 4.2475L24.1648,23.1882A0.8541,0.8541 0,0 1,23.3107 24.0423L3.6108,24.0423A0.8541,0.8541 0,0 1,2.7567 23.1882L2.7567,4.2475A0.8541,0.8541 0,0 1,3.6108 3.3934z"
android:strokeWidth="0.99516809"
android:fillColor="#0c84e3"
android:fillAlpha="1"/>
<path
android:pathData="M3.6099,3.0237L23.3097,3.0237A0.8541,0.8541 0,0 1,24.1638 3.8777L24.1638,22.8185A0.8541,0.8541 0,0 1,23.3097 23.6725L3.6099,23.6725A0.8541,0.8541 0,0 1,2.7558 22.8185L2.7558,3.8777A0.8541,0.8541 0,0 1,3.6099 3.0237z"
android:strokeWidth="0.99516809"
android:fillColor="#2196f3"
android:fillAlpha="1"/>
<path
android:pathData="m13.514,11.5177c0.7268,-0.0047 2.7305,-0.0312 3.0899,-0.6586 0.3594,-0.6274 -0.6417,-2.3511 -1.0091,-2.9738 -0.3674,-0.6227 -1.392,-2.3327 -2.1188,-2.328 -0.7268,0.0047 -1.7296,1.7278 -2.089,2.3552C11.0276,8.5399 10.0486,10.2764 10.416,10.8991 10.7834,11.5219 12.7872,11.5224 13.514,11.5177Z"
android:strokeWidth="0.75212771"
android:fillColor="#ffffff"
android:fillAlpha="1"/>
<path
android:pathData="m8.4011,13.429c0.8788,-0.0249 1.4878,1.1911 1.9465,2.0268 0.4587,0.8358 1.1528,1.9937 0.7328,2.8544 -0.42,0.8607 -1.6694,0.8404 -2.5482,0.8653 -0.8788,0.0249 -2.1256,0.1158 -2.5843,-0.7199 -0.4587,-0.8358 0.1816,-2.0315 0.6017,-2.8922 0.42,-0.8607 0.9728,-2.1095 1.8516,-2.1344z"
android:strokeWidth="0.64926457"
android:fillColor="#ffffff"
android:fillAlpha="1"/>
<path
android:pathData="M13.4853,6.9897C13.223,6.9908 12.9187,7.0032 12.7868,6.8613 12.655,6.7194 12.8216,6.5589 12.952,6.4158 13.0825,6.2728 13.2185,6.1013 13.4808,6.1002 13.743,6.0991 13.8808,6.2693 14.0127,6.4112 14.1445,6.5532 14.3128,6.7122 14.1824,6.8553 14.052,6.9983 13.7476,6.9886 13.4853,6.9897Z"
android:fillColor="#2196f3"
android:fillAlpha="1"/>
<path
android:pathData="M8.4311,14.7718C8.1939,14.7729 7.8517,14.7465 7.7325,14.6182 7.6132,14.4899 7.7448,14.2896 7.8627,14.1602 7.9807,14.0309 8.1892,13.8581 8.4264,13.857 8.6636,13.856 8.8739,14.027 8.9931,14.1553 9.1124,14.2836 9.246,14.4828 9.128,14.6121 9.0101,14.7415 8.6682,14.7708 8.4311,14.7718Z"
android:fillColor="#2196f3"
android:fillAlpha="1"/>
<path
android:pathData="M5.7787,18.0041a2.7403,2.7842 0,1 0,5.4805 0a2.7403,2.7842 0,1 0,-5.4805 0z"
android:strokeWidth="1.24393165"
android:fillColor="#fefefe"
android:fillAlpha="1"/>
<path
android:pathData="M16.2024,14.348L20.1069,14.348A0.8541,0.8541 0,0 1,20.961 15.2021L20.961,19.1065A0.8541,0.8541 0,0 1,20.1069 19.9606L16.2024,19.9606A0.8541,0.8541 0,0 1,15.3483 19.1065L15.3483,15.2021A0.8541,0.8541 0,0 1,16.2024 14.348z"
android:fillColor="#ffffff"
android:fillAlpha="1"/>
<path
android:pathData="M15.8657,15.3747a0.5535,0.5359 0,1 0,1.107 0a0.5535,0.5359 0,1 0,-1.107 0z"
android:strokeWidth="1.06593406"
android:fillColor="#2196f3"
android:fillAlpha="1"/>
</vector>

View File

@ -0,0 +1,53 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="26.947369dp"
android:height="26.947369dp"
android:viewportWidth="26.947369"
android:viewportHeight="26.947369">
<path
android:pathData="M4.0362,2.923L23.736,2.923A0.8541,0.8541 0,0 1,24.5901 3.7771L24.5901,22.7178A0.8541,0.8541 0,0 1,23.736 23.5719L4.0362,23.5719A0.8541,0.8541 0,0 1,3.1821 22.7178L3.1821,3.7771A0.8541,0.8541 0,0 1,4.0362 2.923z"
android:strokeWidth="0.99516809"
android:fillColor="#a1a1a1"
android:fillAlpha="1"/>
<path
android:pathData="M4.0354,3.6976L23.7353,3.6976A0.8541,0.8541 0,0 1,24.5894 4.5517L24.5894,23.4924A0.8541,0.8541 0,0 1,23.7353 24.3465L4.0354,24.3465A0.8541,0.8541 0,0 1,3.1813 23.4924L3.1813,4.5517A0.8541,0.8541 0,0 1,4.0354 3.6976z"
android:strokeWidth="0.99516809"
android:fillColor="#7d7d7d"
android:fillAlpha="1"/>
<path
android:pathData="M4.0344,3.3278L23.7343,3.3278A0.8541,0.8541 0,0 1,24.5884 4.1819L24.5884,23.1226A0.8541,0.8541 0,0 1,23.7343 23.9767L4.0344,23.9767A0.8541,0.8541 0,0 1,3.1804 23.1226L3.1804,4.1819A0.8541,0.8541 0,0 1,4.0344 3.3278z"
android:strokeWidth="0.99516809"
android:fillColor="#8a8a8a"
android:fillAlpha="1"/>
<path
android:pathData="m13.9386,11.8219c0.7268,-0.0047 2.7305,-0.0312 3.0899,-0.6586 0.3594,-0.6274 -0.6417,-2.3511 -1.0091,-2.9738 -0.3674,-0.6227 -1.392,-2.3327 -2.1188,-2.328 -0.7268,0.0047 -1.7296,1.7278 -2.089,2.3552C11.4522,8.8441 10.4731,10.5805 10.8405,11.2033 11.2079,11.826 13.2118,11.8266 13.9386,11.8219Z"
android:strokeWidth="0.75212771"
android:fillColor="#ffffff"
android:fillAlpha="1"/>
<path
android:pathData="m8.8257,13.7332c0.8788,-0.0249 1.4878,1.1911 1.9465,2.0268 0.4587,0.8358 1.1528,1.9937 0.7328,2.8544 -0.42,0.8607 -1.6694,0.8404 -2.5482,0.8653 -0.8788,0.0249 -2.1256,0.1158 -2.5843,-0.7199 -0.4587,-0.8358 0.1816,-2.0315 0.6017,-2.8922 0.42,-0.8607 0.9728,-2.1095 1.8516,-2.1344z"
android:strokeWidth="0.64926457"
android:fillColor="#ffffff"
android:fillAlpha="1"/>
<path
android:pathData="M13.9099,7.2939C13.6476,7.295 13.3433,7.3074 13.2114,7.1655 13.0795,7.0236 13.2462,6.8631 13.3766,6.72 13.507,6.577 13.6431,6.4055 13.9053,6.4044 14.1676,6.4032 14.3054,6.5735 14.4372,6.7154 14.5691,6.8573 14.7374,7.0164 14.607,7.1594 14.4766,7.3025 14.1721,7.2927 13.9099,7.2939Z"
android:fillColor="#8a8a8a"
android:fillAlpha="1"/>
<path
android:pathData="M8.8556,15.076C8.6185,15.077 8.2763,15.0507 8.157,14.9223 8.0378,14.794 8.1694,14.5937 8.2873,14.4644 8.4052,14.335 8.6138,14.1622 8.851,14.1612 9.0881,14.1602 9.2985,14.3312 9.4177,14.4595 9.537,14.5878 9.6705,14.787 9.5526,14.9163 9.4347,15.0456 9.0928,15.075 8.8556,15.076Z"
android:fillColor="#8a8a8a"
android:fillAlpha="1"/>
<path
android:pathData="M6.2033,18.3082a2.7403,2.7842 0,1 0,5.4805 0a2.7403,2.7842 0,1 0,-5.4805 0z"
android:strokeWidth="1.24393165"
android:fillColor="#fefefe"
android:fillAlpha="1"/>
<path
android:pathData="M16.627,14.6521L20.5315,14.6521A0.8541,0.8541 0,0 1,21.3856 15.5062L21.3856,19.4107A0.8541,0.8541 0,0 1,20.5315 20.2648L16.627,20.2648A0.8541,0.8541 0,0 1,15.7729 19.4107L15.7729,15.5062A0.8541,0.8541 0,0 1,16.627 14.6521z"
android:fillColor="#ffffff"
android:fillAlpha="1"/>
<path
android:pathData="M16.2903,15.6788a0.5535,0.5359 0,1 0,1.107 0a0.5535,0.5359 0,1 0,-1.107 0z"
android:strokeWidth="1.06593406"
android:fillColor="#8a8a8a"
android:fillAlpha="1"/>
</vector>