diff --git a/android_app/app/src/main/java/com/health/openscale/gui/preferences/BluetoothPreferences.java b/android_app/app/src/main/java/com/health/openscale/gui/preferences/BluetoothPreferences.java index bf3cf998..441fd2a4 100644 --- a/android_app/app/src/main/java/com/health/openscale/gui/preferences/BluetoothPreferences.java +++ b/android_app/app/src/main/java/com/health/openscale/gui/preferences/BluetoothPreferences.java @@ -214,7 +214,7 @@ public class BluetoothPreferences extends PreferenceFragment { formatDeviceName(device), btDevice.driverName(), device.getType()); prefBtDevice.setOnPreferenceClickListener(new onClickListenerDeviceSelect()); prefBtDevice.setKey(device.getAddress()); - prefBtDevice.setIcon(R.drawable.ic_bluetooth_connection_lost); + prefBtDevice.setIcon(R.drawable.ic_bluetooth_device_supported); prefBtDevice.setSummary(btDevice.driverName()); int tintColor = new EditText(getActivity()).getCurrentTextColor(); @@ -223,7 +223,7 @@ public class BluetoothPreferences extends PreferenceFragment { else { Timber.d("Found unsupported device %s (type: %d)", formatDeviceName(device), device.getType()); - prefBtDevice.setIcon(R.drawable.ic_bluetooth_disabled); + prefBtDevice.setIcon(R.drawable.ic_bluetooth_device_not_supported); prefBtDevice.setSummary(R.string.label_bt_device_no_support); prefBtDevice.setEnabled(false); diff --git a/android_app/app/src/main/res/drawable-hdpi/ic_bluetooth_device_not_supported.png b/android_app/app/src/main/res/drawable-hdpi/ic_bluetooth_device_not_supported.png new file mode 100644 index 00000000..0504bd9f Binary files /dev/null and b/android_app/app/src/main/res/drawable-hdpi/ic_bluetooth_device_not_supported.png differ diff --git a/android_app/app/src/main/res/drawable-hdpi/ic_bluetooth_device_supported.png b/android_app/app/src/main/res/drawable-hdpi/ic_bluetooth_device_supported.png new file mode 100644 index 00000000..41068a14 Binary files /dev/null and b/android_app/app/src/main/res/drawable-hdpi/ic_bluetooth_device_supported.png differ diff --git a/android_app/app/src/main/res/drawable-ldpi/ic_bluetooth_device_not_supported.png b/android_app/app/src/main/res/drawable-ldpi/ic_bluetooth_device_not_supported.png new file mode 100644 index 00000000..9cc1812c Binary files /dev/null and b/android_app/app/src/main/res/drawable-ldpi/ic_bluetooth_device_not_supported.png differ diff --git a/android_app/app/src/main/res/drawable-ldpi/ic_bluetooth_device_supported.png b/android_app/app/src/main/res/drawable-ldpi/ic_bluetooth_device_supported.png new file mode 100644 index 00000000..9a83765b Binary files /dev/null and b/android_app/app/src/main/res/drawable-ldpi/ic_bluetooth_device_supported.png differ diff --git a/android_app/app/src/main/res/drawable-mdpi/ic_bluetooth_device_not_supported.png b/android_app/app/src/main/res/drawable-mdpi/ic_bluetooth_device_not_supported.png new file mode 100644 index 00000000..ddbf12d5 Binary files /dev/null and b/android_app/app/src/main/res/drawable-mdpi/ic_bluetooth_device_not_supported.png differ diff --git a/android_app/app/src/main/res/drawable-mdpi/ic_bluetooth_device_supported.png b/android_app/app/src/main/res/drawable-mdpi/ic_bluetooth_device_supported.png new file mode 100644 index 00000000..9166ca06 Binary files /dev/null and b/android_app/app/src/main/res/drawable-mdpi/ic_bluetooth_device_supported.png differ diff --git a/android_app/app/src/main/res/drawable-xhdpi/ic_bluetooth_device_not_supported.png b/android_app/app/src/main/res/drawable-xhdpi/ic_bluetooth_device_not_supported.png new file mode 100644 index 00000000..641dfb17 Binary files /dev/null and b/android_app/app/src/main/res/drawable-xhdpi/ic_bluetooth_device_not_supported.png differ diff --git a/android_app/app/src/main/res/drawable-xhdpi/ic_bluetooth_device_supported.png b/android_app/app/src/main/res/drawable-xhdpi/ic_bluetooth_device_supported.png new file mode 100644 index 00000000..441e5842 Binary files /dev/null and b/android_app/app/src/main/res/drawable-xhdpi/ic_bluetooth_device_supported.png differ diff --git a/android_app/app/src/main/res/drawable-xxhdpi/ic_bluetooth_device_not_supported.png b/android_app/app/src/main/res/drawable-xxhdpi/ic_bluetooth_device_not_supported.png new file mode 100644 index 00000000..6159ef0a Binary files /dev/null and b/android_app/app/src/main/res/drawable-xxhdpi/ic_bluetooth_device_not_supported.png differ diff --git a/android_app/app/src/main/res/drawable-xxhdpi/ic_bluetooth_device_supported.png b/android_app/app/src/main/res/drawable-xxhdpi/ic_bluetooth_device_supported.png new file mode 100644 index 00000000..e238d33b Binary files /dev/null and b/android_app/app/src/main/res/drawable-xxhdpi/ic_bluetooth_device_supported.png differ diff --git a/android_app/app/src/main/res/drawable-xxxhdpi/ic_bluetooth_device_not_supported.png b/android_app/app/src/main/res/drawable-xxxhdpi/ic_bluetooth_device_not_supported.png new file mode 100644 index 00000000..b1baa400 Binary files /dev/null and b/android_app/app/src/main/res/drawable-xxxhdpi/ic_bluetooth_device_not_supported.png differ diff --git a/android_app/app/src/main/res/drawable-xxxhdpi/ic_bluetooth_device_supported.png b/android_app/app/src/main/res/drawable-xxxhdpi/ic_bluetooth_device_supported.png new file mode 100644 index 00000000..87a46db2 Binary files /dev/null and b/android_app/app/src/main/res/drawable-xxxhdpi/ic_bluetooth_device_supported.png differ