summaryrefslogtreecommitdiffstats
path: root/DeviceSettings/res/xml/sensors_preferences.xml
blob: 497587d342429377eb6cbbb37638bb51b332ea26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
    <PreferenceCategory 
                android:title="@string/gyro_subcat_title">
    <!-- Use sensor calibration -->
    <CheckBoxPreference
                android:key="use_gyro_calibration"
                android:title="@string/use_gyro_calibration_title_head"
                android:summary="@string/use_gyro_calibration_summary_head"
                />

    <!-- Do gyro calibration -->
    <Preference
                android:key="calibrate_gyro"
                android:title="@string/calibrate_gyro_title_head"
                android:summary="@string/calibrate_gyro_summary_head"
                />
    </PreferenceCategory>

    <PreferenceCategory
                android:title="@string/touchkey_subcat_title">
    <!-- Touchkey backlight -->
    <CheckBoxPreference
                android:key="touchkey_light"
                android:title="@string/touchkey_light_title_head"
                android:summary="@string/touchkey_light_summary_head"
                android:defaultValue="true"
                />
    <com.cyanogenmod.settings.device.TouchkeyTimeout
                android:key="touchkey_timeout"
                android:title="@string/touchkey_timeout_title_head"
                android:summary="@string/touchkey_timeout_summary_head"
                android:entries="@array/touchkey_timeout_entries"
                android:entryValues="@array/touchkey_timeout_entries_values"
                android:defaultValue="3"
                />
    </PreferenceCategory>
</PreferenceScreen>