aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml/preferences_general.xml
blob: 615a85a9780f4fea9d5c3b371d357eb896e6ef3c (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
<?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 -->
      <CheckBoxPreference
        android:key="cm_filemanager_case_sensitive_sort"
        android:title="@string/pref_case_sensitive_sort"
        android:persistent="true"
        android:defaultValue="false" />

      <!-- Default longclick action -->
      <ListPreference
        android:key="cm_filemanager_default_longclick_action"
        android:title="@string/pref_default_longclick_action"
        android:entries="@array/default_longclick_action_labels"
        android:entryValues="@array/default_longclick_action_values"
        android:defaultValue="0"
        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 -->
      <CheckBoxPreference
        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" />

    </PreferenceCategory>

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

      <!-- Advanced mode -->
      <CheckBoxPreference
        android:key="cm_filemanager_advanced_mode"
        android:title="@string/pref_advanced_mode"
        android:summaryOn="@string/pref_advanced_mode_on"
        android:persistent="true"
        android:defaultValue="false" />

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

    </PreferenceCategory>
</PreferenceScreen>