sanders: LineageActions: Upgrade to Oreo Settings UI
* Attach to appropriate Settings pages
* Hide divider lines to match Settings UI styles
* Apply On/Off text on the switch bar toggle
* Implement AOSP Settings preference layouts for indentation
* Depends on android_packages_resources_devicesettings:
"DeviceSettings: Import Oreo Settings layouts"
Ib3f670b19c7e728b97fd76efe04bcc2f69008b06
* Partially based upon commit "Bring DozeSettings up to date"
I0850f7d9558a14f739f752f76002db993381a0e5 by Steve Kondik
for the SwitchBar integration but using native themes
Change-Id: Ic5b8335aafc9ce876ed90a25045398e39515e484
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
This commit is contained in:
@@ -17,24 +17,16 @@
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
||||
|
||||
<SwitchPreference
|
||||
android:key="doze_enabled"
|
||||
android:defaultValue="true"
|
||||
android:title="@string/ambient_display_enable_title"
|
||||
android:summary="@string/ambient_display_enable_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_pick_up"
|
||||
android:defaultValue="true"
|
||||
android:title="@string/pick_up_gesture_title"
|
||||
android:summary="@string/pick_up_gesture_summary"
|
||||
android:dependency="doze_enabled" />
|
||||
android:summary="@string/pick_up_gesture_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_hand_wave"
|
||||
android:defaultValue="true"
|
||||
android:title="@string/hand_wave_gesture_title"
|
||||
android:summary="@string/hand_wave_gesture_summary"
|
||||
android:dependency="doze_enabled" />
|
||||
android:summary="@string/hand_wave_gesture_summary" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user