aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml/preferences_general.xml
blob: 961ac95ac4eb59526389403fd3381e8f873e235d (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
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 The CyanogenMod 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">

    <!-- Behaviour -->
    <PreferenceCategory
      android:key="general_behaviour"
      android:title="@string/pref_general_behaviour_category">

      <!-- Case sensitive order -->
      <SwitchPreference
        android:key="cm_filemanager_case_sensitive_sort"
        android:title="@string/pref_case_sensitive_sort"
        android:summary="@string/pref_case_sensitive_sort_summary"
        android:persistent="true"
        android:defaultValue="false" />

      <!-- Filetime format -->
      <ListPreference
        android:key="cm_filemanager_filetime_format_mode"
        android:title="@string/pref_filetime_format_mode"
        android:entries="@array/filetime_format_mode_labels"
        android:entryValues="@array/filetime_format_mode_values"
        android:defaultValue="1"
        android:persistent="true" />

      <!-- Disk usage warning level -->
      <ListPreference
        android:key="cm_filemanager_disk_usage_warning_level"
        android:title="@string/pref_disk_usage_warning_level"
        android:entries="@array/disk_usage_warning_level_labels"
        android:entryValues="@array/disk_usage_warning_level_values"
        android:defaultValue="95"
        android:persistent="true" />

      <!-- Compute folder statistics -->
      <SwitchPreference
        android:key="cm_filemanager_compute_folder_statistics"
        android:title="@string/pref_compute_folder_statistics"
        android:summaryOn="@string/pref_compute_folder_statistics_on"
        android:persistent="true"
        android:defaultValue="false" />

      <!-- Thumbs -->
      <SwitchPreference
        android:key="cm_filemanager_show_thumbs"
        android:title="@string/pref_display_thumbs"
        android:summary="@string/pref_display_thumbs_summary"
        android:persistent="true"
        android:defaultValue="false" />

      <!-- Use flinger -->
      <SwitchPreference
        android:key="cm_filemanager_use_flinger"
        android:title="@string/pref_use_flinger"
        android:summary="@string/pref_use_flinger_summary"
        android:persistent="true"
        android:defaultValue="false" />

    </PreferenceCategory>

    <!-- Advanced settings -->
    <PreferenceCategory
      android:key="general_advanced_settings"
      android:title="@string/pref_general_advanced_settings_category">

      <!-- Access Mode -->
      <ListPreference
        android:key="cm_filemanager_access_mode"
        android:title="@string/pref_access_mode"
        android:entries="@array/access_mode_labels"
        android:entryValues="@array/access_mode_values"
        android:defaultValue="0"
        android:persistent="true" />

      <!-- Restrict secondary users access -->
      <SwitchPreference
        android:key="cm_filemanager_restrict_secondary_users_access"
        android:title="@string/pref_restrict_secondary_users_access_title"
        android:summary="@string/pref_restrict_secondary_users_access_summary"
        android:persistent="false"
        android:defaultValue="false" />

      <!-- Capture debug traces -->
      <SwitchPreference
        android:key="cm_filemanager_show_debug_traces"
        android:title="@string/pref_debug_traces"
        android:persistent="true"
        android:defaultValue="false" />

    </PreferenceCategory>
</PreferenceScreen>