summaryrefslogtreecommitdiffstats
path: root/res/xml/preferences_homescreen.xml
blob: b89ebe646b156d36edecc0ce45d0d60d22ac2697 (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
<?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"
    android:key="ui_homescreen"
    android:title="@string/preferences_interface_homescreen_title">
    <PreferenceCategory
        android:key="ui_homescreen_general"
        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/target_cell_count_x"
            launcher:defaultValue2="@integer/target_cell_count_y"
            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" />
        <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"
            android:defaultValue="true" />
        <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_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="@bool/config_workspaceDefaultWallpaperHack" />
        <com.cyanogenmod.trebuchet.preference.NumberPickerPreference android:key="ui_homescreen_scrolling_wallpaper_size"
            android:title="@string/preferences_interface_homescreen_scrolling_wallpaper_size_title"
            android:summary="@string/preferences_interface_homescreen_scrolling_wallpaper_size_summary"
            android:defaultValue="2"
            launcher:max="5"
            launcher:min="2" />
        <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" />
    </PreferenceCategory>
</PreferenceScreen>