aboutsummaryrefslogtreecommitdiff
path: root/doze/res/xml/doze_settings.xml
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-10-14 21:18:03 -0700
committerdavidevinavil <davidevinavil@gmail.com>2017-01-21 18:32:37 +0100
commit8e48c247cff44d96ad69b7f7602adf75f44a1716 (patch)
tree4fa60f5a59edc11a4c15a7a031ea897f1bbd8b15 /doze/res/xml/doze_settings.xml
parent1559ebce0ec7064839149a850f488036f9b46e9d (diff)
z2_plus: Bring DozeSettings up to date
* Rework the UI with a SwitchBar * Change to the preferences support library and use fragments * Use all the new fancy RemotePreference stuff * Slot into display settings instead of the dashboard Change-Id: I0850f7d9558a14f739f752f76002db993381a0e5
Diffstat (limited to 'doze/res/xml/doze_settings.xml')
-rw-r--r--doze/res/xml/doze_settings.xml18
1 files changed, 5 insertions, 13 deletions
diff --git a/doze/res/xml/doze_settings.xml b/doze/res/xml/doze_settings.xml
index dfa608b..acc19d2 100644
--- a/doze/res/xml/doze_settings.xml
+++ b/doze/res/xml/doze_settings.xml
@@ -14,13 +14,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
-
- <SwitchPreference
- android:key="ambient_display"
- android:defaultValue="true"
- android:title="@string/ambient_display_title"
- android:summary="@string/ambient_display_summary" />
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:cm="http://schemas.android.com/apk/res/cyanogenmod.platform">
<PreferenceCategory
android:key="tilt_sensor"
@@ -30,8 +25,7 @@
android:key="pick_up"
android:defaultValue="false"
android:title="@string/pick_up_title"
- android:summary="@string/pick_up_summary"
- android:dependency="ambient_display" />
+ android:summary="@string/pick_up_summary" />
</PreferenceCategory>
@@ -43,15 +37,13 @@
android:key="gesture_hand_wave"
android:defaultValue="false"
android:title="@string/hand_wave_gesture_title"
- android:summary="@string/hand_wave_gesture_summary"
- android:dependency="ambient_display" />
+ android:summary="@string/hand_wave_gesture_summary" />
<SwitchPreference
android:key="gesture_pocket"
android:defaultValue="false"
android:title="@string/pocket_gesture_title"
- android:summary="@string/pocket_gesture_summary"
- android:dependency="ambient_display" />
+ android:summary="@string/pocket_gesture_summary" />
</PreferenceCategory>