OSDN Git Service

6edd0e4c1e3cf1d68719e2003c165eb164840e17
[android-x86/packages-apps-CMFileManager.git] / res / xml / preferences_editor_color_scheme.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2012 The CyanogenMod Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15  -->
16
17 <PreferenceScreen
18   xmlns:android="http://schemas.android.com/apk/res/android">
19
20     <!-- Use default theme color scheme -->
21     <CheckBoxPreference
22       android:key="cm_filemanager_editor_sh_use_theme_default"
23       android:title="@string/pref_syntax_sh_use_theme_default"
24       android:summary="@string/pref_syntax_sh_use_theme_default_desc"
25       android:persistent="true"
26       android:defaultValue="true" />
27
28     <!-- Editor behaviour -->
29     <PreferenceCategory
30       android:key="editor_sh_items_category"
31       android:title="@string/pref_editor_sh_item_category">
32
33         <!-- Reset color scheme to theme defaults -->
34         <Preference
35           android:key="ash_reset_color_scheme"
36           android:summary="@string/ash_reset_color_scheme"
37           android:persistent="false" />
38
39         <!-- Text -->
40         <com.cyanogenmod.filemanager.ui.preferences.ColorPickerPreference
41           android:key="ash_text"
42           android:title="@string/ash_text"
43           android:persistent="false"
44           android:defaultValue="@color/ash_text_color" />
45
46         <!-- Assignment -->
47         <com.cyanogenmod.filemanager.ui.preferences.ColorPickerPreference
48           android:key="ash_assignment"
49           android:title="@string/ash_assignment"
50           android:persistent="false"
51           android:defaultValue="@color/ash_assignment_color" />
52
53         <!-- Single-Line comment -->
54         <com.cyanogenmod.filemanager.ui.preferences.ColorPickerPreference
55           android:key="ash_singleline_comment"
56           android:title="@string/ash_singleline_comment"
57           android:persistent="false"
58           android:defaultValue="@color/ash_singleline_comment_color" />
59
60         <!-- Multi-Line comment -->
61         <com.cyanogenmod.filemanager.ui.preferences.ColorPickerPreference
62           android:key="ash_multiline_comment"
63           android:title="@string/ash_multiline_comment"
64           android:persistent="false"
65           android:defaultValue="@color/ash_multiline_comment_color" />
66
67         <!-- Keyword -->
68         <com.cyanogenmod.filemanager.ui.preferences.ColorPickerPreference
69           android:key="ash_keyword"
70           android:title="@string/ash_keyword"
71           android:persistent="false"
72           android:defaultValue="@color/ash_keyword_color" />
73
74         <!-- Quoted string -->
75         <com.cyanogenmod.filemanager.ui.preferences.ColorPickerPreference
76           android:key="ash_quoted_string"
77           android:title="@string/ash_quoted_string"
78           android:persistent="false"
79           android:defaultValue="@color/ash_quoted_string_color" />
80
81         <!-- Variable -->
82         <com.cyanogenmod.filemanager.ui.preferences.ColorPickerPreference
83           android:key="ash_variable"
84           android:title="@string/ash_variable"
85           android:persistent="false"
86           android:defaultValue="@color/ash_variable_color" />
87
88     </PreferenceCategory>
89
90 </PreferenceScreen>