summaryrefslogtreecommitdiffstats
path: root/res/xml/preferences.xml
blob: 5ec6a95f29d30f959853b2f0490e2654cca46c94 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:launcher="http://schemas.android.com/apk/res/com.cyanogenmod.trebuchet">
    <!-- UI -->
    <PreferenceCategory android:title="@string/preferences_interface_title">
        <!-- Homescreen -->
        <PreferenceScreen android:key="ui_homescreen"
            android:title="@string/preferences_interface_homescreen_title">
            <PreferenceCategory android:title="@string/preferences_interface_homescreen_general_category">
                <com.cyanogenmod.trebuchet.preference.DoubleNumberPickerPreference android:key="ui_homescreen_grid"
                    android:title="@string/preferences_interface_homescreen_general_grid_title"
                    android:summary="@string/preferences_interface_homescreen_general_grid_summary"
                    launcher:pickerTitle1="@string/preferences_interface_homescreen_general_grid_rows_title"
                    launcher:pickerTitle2="@string/preferences_interface_homescreen_general_grid_columns_title"
                    launcher:defaultValue1="@integer/cell_count_y"
                    launcher:defaultValue2="@integer/cell_count_x"
                    launcher:max1="@integer/config_maxWorkspaceRows"
                    launcher:min1="3"
                    launcher:max2="@integer/config_maxWorkspaceColumns"
                    launcher:min2="3" />
                <com.cyanogenmod.trebuchet.preference.NumberPickerPreference android:key="ui_homescreen_screens"
                    android:title="@string/preferences_interface_homescreen_general_screens_title"
                    android:summary="@string/preferences_interface_homescreen_general_screens_summary"
                    android:defaultValue="5"
                    launcher:max="7"
                    launcher:min="1" />
                <com.cyanogenmod.trebuchet.preference.NumberPickerPreference android:key="ui_homescreen_default_screen"
                    android:title="@string/preferences_interface_homescreen_general_default_screen_title"
                    android:summary="@string/preferences_interface_homescreen_general_default_screen_summary"
                    android:defaultValue="3"
                    launcher:maxExternal="ui_homescreen_screens"
                    launcher:max="7"
                    launcher:min="1" />
                <com.cyanogenmod.trebuchet.preference.NumberPickerPreference android:key="ui_homescreen_screen_padding_vertical"
                    android:title="@string/preferences_interface_homescreen_general_screen_padding_vertical_title"
                    android:summary="@string/preferences_interface_homescreen_general_screen_padding_vertical_summary"
                    android:defaultValue="0"
                    launcher:max="10"
                    launcher:min="0" />
                <com.cyanogenmod.trebuchet.preference.NumberPickerPreference android:key="ui_homescreen_screen_padding_horizontal"
                    android:title="@string/preferences_interface_homescreen_general_screen_padding_horizontal_title"
                    android:summary="@string/preferences_interface_homescreen_general_screen_padding_horizontal_summary"
                    android:defaultValue="0"
                    launcher:max="10"
                    launcher:min="0" />
                <CheckBoxPreference android:key="ui_homescreen_general_search"
                    android:title="@string/preferences_interface_homescreen_general_search_title"
                    android:summary="@string/preferences_interface_homescreen_general_search_summary"
                    android:defaultValue="true" />
                <CheckBoxPreference android:key="ui_homescreen_general_resize_any_widget"
                    android:title="@string/preferences_interface_homescreen_general_resize_any_widget_title"
                    android:summary="@string/preferences_interface_homescreen_general_resize_any_widget_summary" />
                <CheckBoxPreference android:key="ui_homescreen_general_hide_icon_labels"
                    android:title="@string/preferences_interface_homescreen_general_hide_icon_labels_title"
                    android:summary="@string/preferences_interface_homescreen_general_hide_icon_labels_summary" />
            </PreferenceCategory>
            <PreferenceCategory android:title="@string/preferences_interface_homescreen_scrolling_category">
                <CheckBoxPreference android:key="ui_homescreen_scrolling_scroll_wallpaper"
                    android:title="@string/preferences_interface_homescreen_scrolling_scroll_wallpaper_title"
                    android:summary="@string/preferences_interface_homescreen_scrolling_scroll_wallpaper_summary"
                    android:defaultValue="true" />
            </PreferenceCategory>
            <PreferenceCategory android:title="@string/preferences_interface_homescreen_indicator_category">
                <CheckBoxPreference android:key="ui_homescreen_indicator_enable"
                    android:title="@string/preferences_interface_homescreen_indicator_enable_title"
                    android:summary="@string/preferences_interface_homescreen_indicator_enable_summary"
                    android:defaultValue="true" />
                <CheckBoxPreference android:key="ui_homescreen_indicator_fade"
                    android:title="@string/preferences_interface_homescreen_indicator_fade_title"
                    android:summary="@string/preferences_interface_homescreen_indicator_fade_summary"
                    android:defaultValue="true"
                    android:dependency="ui_homescreen_indicator_enable" />
                <CheckBoxPreference android:key="ui_homescreen_indicator_background"
                    android:title="@string/preferences_interface_homescreen_indicator_background_title"
                    android:summary="@string/preferences_interface_homescreen_indicator_background_summary"
                    android:defaultValue="true" />
            </PreferenceCategory>
        </PreferenceScreen>

        <!-- Drawer -->
        <PreferenceScreen android:key="ui_drawer"
            android:title="@string/preferences_interface_drawer_title">
            <PreferenceCategory android:title="@string/preferences_interface_drawer_widgets_category">
                <CheckBoxPreference android:key="ui_drawer_widgets_join_apps"
                    android:title="@string/preferences_interface_drawer_widgets_join_apps_title"
                    android:summary="@string/preferences_interface_drawer_widgets_join_apps_summary"
                    android:defaultValue="true" />
            </PreferenceCategory>
            <PreferenceCategory android:title="@string/preferences_interface_drawer_indicator_category">
                <CheckBoxPreference android:key="ui_drawer_indicator_enable"
                    android:title="@string/preferences_interface_drawer_indicator_enable_title"
                    android:summary="@string/preferences_interface_drawer_indicator_enable_summary"
                    android:defaultValue="true" />
                <CheckBoxPreference android:key="ui_drawer_indicator_fade"
                    android:title="@string/preferences_interface_drawer_indicator_fade_title"
                    android:summary="@string/preferences_interface_drawer_indicator_fade_summary"
                    android:defaultValue="true"
                    android:dependency="ui_drawer_indicator_enable" />
            </PreferenceCategory>
        </PreferenceScreen>

        <!-- Dock -->
        <!-- <PreferenceScreen android:key="ui_dock"
            android:title="@string/preferences_interface_dock_title">

        </PreferenceScreen> -->

        <!-- Icons -->
        <!-- <PreferenceScreen android:key="ui_icons"
            android:title="@string/preferences_interface_icons_title">

        </PreferenceScreen> -->

        <!-- General -->
        <PreferenceScreen android:key="ui_general"
            android:title="@string/preferences_interface_general_title">
            <CheckBoxPreference android:key="ui_general_orientation"
                android:title="@string/preferences_interface_general_orientation_title" />
        </PreferenceScreen>

    </PreferenceCategory>

    <!-- Application -->
    <PreferenceCategory android:title="@string/preferences_application_title">
        <Preference android:key="application_version"
            style="?android:preferenceInformationStyle"
            android:summary="@string/application_copyright" />
    </PreferenceCategory>
</PreferenceScreen>