From a943adbac7987d2ce5cb1f2cece9a3a0e3b41a04 Mon Sep 17 00:00:00 2001 From: TaaviE Date: Fri, 31 Jan 2020 19:38:13 +0200 Subject: [PATCH] Added custom icon for iTag devices --- .../gadgetbridge/model/DeviceType.java | 2 +- app/src/main/res/drawable/ic_device_itag.xml | 53 +++++++++++++++++++ .../res/drawable/ic_device_itag_disabled.xml | 53 +++++++++++++++++++ 3 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/ic_device_itag.xml create mode 100644 app/src/main/res/drawable/ic_device_itag_disabled.xml diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java index 6762808a0..346d5d59d 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java @@ -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); diff --git a/app/src/main/res/drawable/ic_device_itag.xml b/app/src/main/res/drawable/ic_device_itag.xml new file mode 100644 index 000000000..95e1a19c7 --- /dev/null +++ b/app/src/main/res/drawable/ic_device_itag.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/ic_device_itag_disabled.xml b/app/src/main/res/drawable/ic_device_itag_disabled.xml new file mode 100644 index 000000000..1acdba6e2 --- /dev/null +++ b/app/src/main/res/drawable/ic_device_itag_disabled.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + +