Custom button light [2/2]

*DU Edits*

- Adapt to our custom seekbar
- Wrap preferences/seekbar with a category / update strings
- Add check to remove preferences depending on bool (config_button_brightness_support)

Change-Id: I90531723f8751a92766e96f5409d979a2f5bd524
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
maxwen
2017-12-02 18:26:40 -05:00
committed by Hưng Phan
parent 6c28bcff30
commit 2960d8c445
3 changed files with 105 additions and 1 deletions

View File

@@ -586,4 +586,14 @@
<!-- Custom Wi-Fi bar icons -->
<string name="custom_wifi_bar_title">Wi-Fi</string>
<!-- Button brightness -->
<string name="button_backlight_options_category">Backlight options</string>
<string name="button_backlight_enable_title">Allow button backlight</string>
<string name="button_link_brightness">Link to screen brightness</string>
<string name="button_link_brightness_summary">Button backlight brightness will adjust based on current screen brightness level</string>
<string name="button_manual_brightness">Brightness level</string>
<string name="button_timeout_title">Backlight timeout</string>
<string name="button_backlight_on_touch_only_title">Button backlight touch</string>
<string name="button_backlight_on_touch_only_summary">Button backlight will only appear when buttons are pressed rather than on all the time. Timeout still impacts this feature.</string>
</resources>