Cherish: Statusbar brightness control

Change-Id: Ia0a944f1b54698d57e74483cdf15fb48b4dd52c0
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Sebastian
2018-01-05 15:57:00 -08:00
committed by Hưng Phan
parent 7532dceec2
commit 3563c5f051
2 changed files with 11 additions and 0 deletions

View File

@@ -676,4 +676,8 @@
<string name="volume_steps_voice_call_title">Volume steps: Voice Call</string> <string name="volume_steps_voice_call_title">Volume steps: Voice Call</string>
<string name="volume_steps_reset">Reset</string> <string name="volume_steps_reset">Reset</string>
<!-- Brightness control -->
<string name="status_bar_toggle_brightness">Brightness Control</string>
<string name="status_bar_toggle_brightness_summary">Adjust brightness by sliding finger across the statusbar</string>
</resources> </resources>

View File

@@ -34,6 +34,13 @@
</Preference> </Preference>
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="status_bar_brightness_control"
android:icon="@drawable/ic_brightness"
android:title="@string/status_bar_toggle_brightness"
android:summary="@string/status_bar_toggle_brightness_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference <com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="show_fourg" android:key="show_fourg"
android:icon="@drawable/ic_4g" android:icon="@drawable/ic_4g"