summaryrefslogtreecommitdiffstats
path: root/res/xml/preferences.xml
blob: 413440264ee6dd6f35b21137d0a05bbeee271f33 (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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?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_x"
                    launcher:defaultValue2="@integer/cell_count_y"
                    launcher:max1="7"
                    launcher:min1="3"
                    launcher:max2="7"
                    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" />
                <CheckBoxPreference android:key="ui_homescreen_stretch_screens"
                    android:title="@string/preferences_interface_homescreen_general_stretch_screens_title"
                    android:summary="@string/preferences_interface_homescreen_general_stretch_screens_summary" />
                <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">
                <ListPreference android:key="ui_homescreen_scrolling_transition_effect"
                    android:title="@string/preferences_interface_homescreen_scrolling_transition_effect_title"
                    android:summary="@string/preferences_interface_homescreen_scrolling_transition_effect_summary"
                    android:entries="@array/preferences_interface_homescreen_scrolling_transition_effect_entries"
                    android:entryValues="@array/preferences_interface_homescreen_scrolling_transition_effect_values"
                    android:defaultValue="@string/config_workspaceDefaultTransitionEffect" />
                <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" />
                <CheckBoxPreference android:key="ui_homescreen_scrolling_wallpaper_hack"
                    android:title="@string/preferences_interface_homescreen_scrolling_wallpaper_hack_title"
                    android:summary="@string/preferences_interface_homescreen_scrolling_wallpaper_hack_summary"
                    android:defaultValue="false" />
                <CheckBoxPreference android:key="ui_homescreen_scrolling_fade_adjacent_screens"
                    android:title="@string/preferences_interface_homescreen_scrolling_fade_adjacent_screens_title"
                    android:summary="@string/preferences_interface_homescreen_scrolling_fade_adjacent_screens_summary"
                    android:defaultValue="@bool/config_workspaceDefualtFadeInAdjacentScreens" />
                <CheckBoxPreference android:key="ui_homescreen_scrolling_show_outlines"
                    android:title="@string/preferences_interface_homescreen_scrolling_show_outlines_title"
                    android:summary="@string/preferences_interface_homescreen_scrolling_show_outlines_summary"
                    android:defaultValue="@bool/config_workspaceDefaultShowOutlines" />
            </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" />
                <ListPreference android:key="ui_homescreen_indicator_position"
                    android:title="@string/preferences_interface_homescreen_indicator_position_title"
                    android:summary="@string/preferences_interface_homescreen_indicator_position_summary"
                    android:entries="@array/preferences_interface_homescreen_indicator_position_entries"
                    android:entryValues="@array/preferences_interface_homescreen_indicator_position_values"
                    android:defaultValue="0"
                    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">
            <ListPreference android:key="ui_drawer_orientation"
                android:title="@string/preferences_interface_drawer_orientation_title"
                android:summary="@string/preferences_interface_drawer_orientation_summary"
                android:entries="@array/preferences_interface_drawer_orientation_entries"
                android:entryValues="@array/preferences_interface_drawer_orientation_values"
                android:defaultValue="horizontal" />
            <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_scrolling_category">
                <ListPreference android:key="ui_drawer_scrolling_transition_effect"
                    android:title="@string/preferences_interface_drawer_scrolling_transition_effect_title"
                    android:summary="@string/preferences_interface_drawer_scrolling_transition_effect_summary"
                    android:entries="@array/preferences_interface_drawer_scrolling_transition_effect_entries"
                    android:entryValues="@array/preferences_interface_drawer_scrolling_transition_effect_values"
                    android:defaultValue="@string/config_drawerDefaultTransitionEffect" />
                <CheckBoxPreference android:key="ui_drawer_scrolling_fade_adjacent_screens"
                    android:title="@string/preferences_interface_drawer_scrolling_fade_adjacent_screens_title"
                    android:summary="@string/preferences_interface_drawer_scrolling_fade_adjacent_screens_summary" />
            </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>