From bac41a8b78eb12cb0dcc27b9c0a338d688a75ee5 Mon Sep 17 00:00:00 2001 From: vanous Date: Wed, 7 Sep 2022 11:12:19 +0200 Subject: [PATCH] Add flipper device icon --- LICENSE.artwork | 3 + app/src/main/assets/ic_device_flipper.svg | 1772 ++++++++++++++++ .../assets/ic_device_flipper_disabled.svg | 1825 +++++++++++++++++ .../gadgetbridge/model/DeviceType.java | 2 +- .../main/res/drawable/ic_device_flipper.xml | 238 +++ .../drawable/ic_device_flipper_disabled.xml | 243 +++ 6 files changed, 4082 insertions(+), 1 deletion(-) create mode 100644 app/src/main/assets/ic_device_flipper.svg create mode 100644 app/src/main/assets/ic_device_flipper_disabled.svg create mode 100644 app/src/main/res/drawable/ic_device_flipper.xml create mode 100644 app/src/main/res/drawable/ic_device_flipper_disabled.xml diff --git a/LICENSE.artwork b/LICENSE.artwork index a795245b7..4eb9cf24e 100644 --- a/LICENSE.artwork +++ b/LICENSE.artwork @@ -28,3 +28,6 @@ Creative Commons Attribution 3.0 United States (CC BY-3.0 US): Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0): ic_device_amazfit_bip by Michael quelbs@gmail.com + +MIT License as per https://github.com/flipperdevices/Flipper-iOS-App/blob/dev/LICENSE + Flipper device icons, Source SVG https://raw.githubusercontent.com/flipperdevices/Flipper-iOS-App/main/Flipper/Shared/Assets.xcassets/Device/FlipperBlack.imageset/FlipperBlack.svg diff --git a/app/src/main/assets/ic_device_flipper.svg b/app/src/main/assets/ic_device_flipper.svg new file mode 100644 index 000000000..1712dccb8 --- /dev/null +++ b/app/src/main/assets/ic_device_flipper.svg @@ -0,0 +1,1772 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/assets/ic_device_flipper_disabled.svg b/app/src/main/assets/ic_device_flipper_disabled.svg new file mode 100644 index 000000000..555069669 --- /dev/null +++ b/app/src/main/assets/ic_device_flipper_disabled.svg @@ -0,0 +1,1825 @@ + + + + + + + + image/svg+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 cee2a2bf6..9e2ccd28b 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/DeviceType.java @@ -116,7 +116,7 @@ public enum DeviceType { VESC_NRF(500, R.drawable.ic_device_vesc, R.drawable.ic_device_vesc_disabled, R.string.devicetype_vesc), VESC_HM10(501, R.drawable.ic_device_vesc, R.drawable.ic_device_vesc_disabled, R.string.devicetype_vesc), BINARY_SENSOR(510, R.drawable.ic_device_unknown, R.drawable.ic_device_unknown_disabled, R.string.devicetype_binary_sensor), - FLIPPER_ZERO(520, R.drawable.ic_device_unknown, R.drawable.ic_device_unknown_disabled, R.string.devicetype_flipper_zero), + FLIPPER_ZERO(520, R.drawable.ic_device_flipper, R.drawable.ic_device_flipper_disabled, R.string.devicetype_flipper_zero), TEST(1000, R.drawable.ic_device_default, R.drawable.ic_device_default_disabled, R.string.devicetype_test); private final int key; diff --git a/app/src/main/res/drawable/ic_device_flipper.xml b/app/src/main/res/drawable/ic_device_flipper.xml new file mode 100644 index 000000000..0eb58ed04 --- /dev/null +++ b/app/src/main/res/drawable/ic_device_flipper.xml @@ -0,0 +1,238 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/ic_device_flipper_disabled.xml b/app/src/main/res/drawable/ic_device_flipper_disabled.xml new file mode 100644 index 000000000..e8cbd61ca --- /dev/null +++ b/app/src/main/res/drawable/ic_device_flipper_disabled.xml @@ -0,0 +1,243 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +