Battery led customization: activate led light preview

This commit is contained in:
ezio84
2018-02-01 17:49:21 +01:00
committed by Hưng Phan
parent 608519fb3a
commit eabfa4ce41

View File

@@ -42,24 +42,28 @@
android:key="battery_light_low_color"
android:icon="@drawable/ic_battery_low"
android:title="@string/battery_light_low_color"
ledPreview="true"
settings:defaultColorValue="0xFFFF0000" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_light_medium_color"
android:icon="@drawable/ic_battery_medium"
android:title="@string/battery_light_medium_color"
ledPreview="true"
settings:defaultColorValue="0xFFFFFF00" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_light_full_color"
android:icon="@drawable/ic_battery_almostfull"
android:title="@string/battery_light_full_color"
ledPreview="true"
settings:defaultColorValue="0xFFFFFF00" />
<net.margaritov.preference.colorpicker.ColorPickerPreference
android:key="battery_light_reallyfull_color"
android:icon="@drawable/ic_battery_full"
android:title="@string/battery_light_reallyfull_color"
ledPreview="true"
settings:defaultColorValue="0xFF00FF00" />
</PreferenceCategory>