OSDN Git Service

Preferenceを階層化して整理。
[gokigen/Gr2Control.git] / app / src / main / res / xml / preferences_ricoh_gr2.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
3     <PreferenceCategory
4         android:title="@string/pref_cat_application_control">
5
6         <PreferenceScreen
7             android:key="exit_application"
8             android:icon="@drawable/ic_power_settings_new_black_24dp"
9             android:title="@string/pref_ricoh_exit_power_off" />
10 <!--
11         <ListPreference
12             android:title="@string/pref_connection_method"
13             android:entryValues="@array/connection_method_value"
14             android:entries="@array/connection_method"
15             android:key="connection_method"
16             android:defaultValue="RICOH_GR2"/>
17
18         <PreferenceScreen
19             android:key="wifi_settings"
20             android:title="@string/pref_wifi_settings"
21             android:summary="@string/pref_summary_wifi_settings" />
22 -->
23     </PreferenceCategory>
24
25 <!--
26     <PreferenceCategory
27         android:title="@string/pref_cat_camera">
28
29         <CheckBoxPreference
30             android:key="capture_both_camera_and_live_view"
31             android:title="@string/pref_capture_both_camera_and_live_view" />
32     </PreferenceCategory>
33 -->
34
35     <PreferenceCategory
36         android:title="@string/pref_cat_initialize">
37
38         <CheckBoxPreference
39             android:key="gr2_display_camera_view"
40             android:title="@string/pref_gr2_display_camera_view"
41             android:summary="@string/pref_gr2_display_camera_view_summary"/>
42
43         <CheckBoxPreference
44             android:key="gr2_lcd_sleep"
45             android:title="@string/pref_gr2_lcd_sleep" />
46
47 <!--
48         <CheckBoxPreference
49             android:key="auto_connect_to_camera"
50             android:title="@string/pref_auto_connect_camera"
51             android:summary="@string/pref_summary_auto_connect_camera" />
52 -->
53     </PreferenceCategory>
54
55     <PreferenceCategory
56         android:title="@string/pref_cat_others">
57 <!--
58         <CheckBoxPreference
59             android:key="share_after_save"
60             android:title="@string/pref_call_share_after_save" />
61
62         <CheckBoxPreference
63             android:key="use_playback_menu"
64             android:title="@string/pref_use_playback_menu"
65             android:summary="@string/summary_use_playback_menu" />
66 -->
67         <CheckBoxPreference
68             android:key="use_gr2_special_command"
69             android:title="@string/pref_use_gr2_special_command"
70             android:summary="@string/summary_use_gr2_special_command"
71             />
72
73         <CheckBoxPreference
74             android:key="pentax_capture_after_auto_focus"
75             android:title="@string/pref_pentax_capture_after_auto_focus"
76             android:summary="@string/summary_pentax_capture_after_auto_focus"
77             />
78
79         <EditTextPreference
80             android:key="ricoh_get_pics_list_timeout"
81             android:title="@string/pref_ricoh_get_pics_list_timeout"
82             android:defaultValue="5"
83             android:inputType="number"
84             android:summary="@string/pref_summary_ricoh_get_pics_list_timeout" />
85     </PreferenceCategory>
86
87     <!--
88     <PreferenceCategory
89         android:title="@string/pref_cat_gokigen">
90
91         <Preference
92             android:key="instruction_link"
93             android:title="@string/pref_instruction_manual"
94             android:summary="https://osdn.net/projects/gokigen/wiki/GR2Control"
95             android:selectable="true">
96             <intent android:action="android.intent.action.VIEW"
97                 android:data="https://osdn.net/projects/gokigen/wiki/GR2Control" />
98         </Preference>
99
100         <Preference
101             android:key="privacy_policy"
102             android:title="@string/pref_privacy_policy"
103             android:summary="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy"
104             android:selectable="true">
105             <intent android:action="android.intent.action.VIEW"
106                 android:data="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy" />
107         </Preference>
108
109         <PreferenceScreen
110             android:key="debug_info"
111             android:title="@string/pref_degug_info"
112             android:summary="@string/pref_summary_debug_info" />
113     </PreferenceCategory>
114 -->
115 </PreferenceScreen>