d605b761be36d4a99f46b7e0da308b9723bc7333
[zxing.git] / android / res / xml / preferences.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3  Copyright (C) 2008 ZXing authors
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16  -->
17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
18   <PreferenceCategory android:title="@string/preferences_scanning_title">
19     <CheckBoxPreference
20         android:key="preferences_decode_1D"
21         android:defaultValue="true"
22         android:title="@string/preferences_decode_1D_title"/>
23     <CheckBoxPreference
24         android:key="preferences_decode_QR"
25         android:defaultValue="true"
26         android:title="@string/preferences_decode_QR_title"/>
27   </PreferenceCategory>
28   <PreferenceCategory android:title="@string/preferences_actions_title">
29     <CheckBoxPreference
30         android:key="preferences_play_beep"
31         android:defaultValue="true"
32         android:title="@string/preferences_play_beep_title"/>
33     <CheckBoxPreference
34         android:key="preferences_vibrate"
35         android:defaultValue="false"
36         android:title="@string/preferences_vibrate_title"/>
37     <CheckBoxPreference
38         android:key="preferences_copy_to_clipboard"
39         android:defaultValue="true"
40         android:title="@string/preferences_copy_to_clipboard_title"/>
41   </PreferenceCategory>
42   <PreferenceCategory android:title="@string/preferences_result_title">
43     <EditTextPreference
44         android:key="preferences_custom_product_search"
45         android:title="@string/preferences_custom_product_search_title"
46         android:summary="@string/preferences_custom_product_search_summary"/>
47   </PreferenceCategory>
48     <PreferenceCategory android:title="@string/preferences_general_title">
49     <CheckBoxPreference
50         android:key="preferences_front_light"
51         android:defaultValue="false"
52         android:title="@string/preferences_front_light_title"
53         android:summary="@string/preferences_front_light_summary"/>
54     <CheckBoxPreference
55         android:key="preferences_bulk_mode"
56         android:defaultValue="false"
57         android:title="@string/preferences_bulk_mode_title"
58         android:summary="@string/preferences_bulk_mode_summary"/>
59   </PreferenceCategory>
60 </PreferenceScreen>