mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-24 00:00:47 +02:00
UM25: optimized imports, added pref summary
This commit is contained in:
parent
3fc53ef6b3
commit
367ad19205
@ -9,16 +9,12 @@ import android.os.ParcelUuid;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
|
||||
import cyanogenmod.app.CustomTile;
|
||||
import nodomain.freeyourgadget.gadgetbridge.GBException;
|
||||
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.AbstractDeviceCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.DeviceCoordinator;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.InstallHandler;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.SampleProvider;
|
||||
import nodomain.freeyourgadget.gadgetbridge.devices.um25.Activity.DataActivity;
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<CheckBoxPreference
|
||||
android:title="Notify if below current threshold"
|
||||
android:key="um25_current_threshold_notify" />
|
||||
@ -7,5 +9,6 @@
|
||||
android:title="Current threshold im mA"
|
||||
android:key="um25_current_threshold"
|
||||
android:inputType="number"
|
||||
android:defaultValue="100"/>
|
||||
android:defaultValue="100"
|
||||
app:useSimpleSummaryProvider="true" />/>
|
||||
</PreferenceScreen>
|
Loading…
Reference in New Issue
Block a user