OSDN Git Service

Preferenceを階層化して整理。
[gokigen/Gr2Control.git] / app / src / main / res / xml / preferences_opc.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_opc_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="OPC"/>
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     <PreferenceCategory
26         android:title="@string/pref_cat_camera">
27
28         <ListPreference
29             android:title="@string/pref_camera_sound_volume"
30             android:entryValues="@array/sound_volume_level_value"
31             android:entries="@array/sound_volume_level"
32             android:key="sound_volume_level"
33             android:defaultValue="OFF"/>
34
35         <CheckBoxPreference
36             android:key="raw"
37             android:title="@string/pref_take_raw" />
38 <!--
39         <CheckBoxPreference
40             android:key="capture_both_camera_and_live_view"
41             android:title="@string/pref_capture_both_camera_and_live_view" />
42 -->
43     </PreferenceCategory>
44
45     <PreferenceCategory
46         android:title="@string/pref_cat_live_view">
47         <ListPreference
48             android:title="@string/pref_live_view_quality"
49             android:entryValues="@array/live_view_quality_value"
50             android:entries="@array/live_view_quality"
51             android:key="live_view_quality"
52             android:defaultValue="VGA"/>
53
54     </PreferenceCategory>
55
56     <!--
57     <PreferenceCategory
58         android:title="@string/pref_cat_others">
59
60         <CheckBoxPreference
61             android:key="share_after_save"
62             android:title="@string/pref_call_share_after_save" />
63
64         <CheckBoxPreference
65             android:key="use_playback_menu"
66             android:title="@string/pref_use_playback_menu" />
67     </PreferenceCategory>
68 -->
69
70     <PreferenceCategory
71         android:title="@string/pref_cat_info">
72         <PreferenceScreen
73             android:key="focal_length"
74             android:title="@string/pref_focal_length"
75             android:selectable="false" />
76
77         <PreferenceScreen
78             android:key="lens_status"
79             android:title="@string/pref_lens_status"
80             android:selectable="false" />
81
82         <PreferenceScreen
83             android:key="media_status"
84             android:title="@string/pref_media_status"
85             android:selectable="false" />
86
87         <PreferenceScreen
88             android:key="camera_version"
89             android:title="@string/pref_camera_version"
90             android:selectable="false" />
91
92         <PreferenceScreen
93         android:key="camerakit_version"
94         android:title="@string/pref_camerakit_version"
95         android:selectable="false" />
96     </PreferenceCategory>
97
98 <!--
99     <PreferenceCategory
100         android:title="@string/pref_cat_initialize">
101
102         <CheckBoxPreference
103         android:key="auto_connect_to_camera"
104         android:title="@string/pref_auto_connect_camera"
105         android:summary="@string/pref_summary_auto_connect_camera" />
106     </PreferenceCategory>
107
108     <PreferenceCategory
109         android:title="@string/pref_cat_gokigen">
110
111         <Preference
112             android:key="instruction_link"
113             android:title="@string/pref_instruction_manual"
114             android:summary="https://osdn.net/projects/gokigen/wiki/GR2Control"
115             android:selectable="true">
116             <intent android:action="android.intent.action.VIEW"
117                 android:data="https://osdn.net/projects/gokigen/wiki/GR2Control" />
118         </Preference>
119
120         <Preference
121             android:key="privacy_policy"
122             android:title="@string/pref_privacy_policy"
123             android:summary="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy"
124             android:selectable="true">
125             <intent android:action="android.intent.action.VIEW"
126                 android:data="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy" />
127         </Preference>
128
129         <PreferenceScreen
130             android:key="debug_info"
131             android:title="@string/pref_degug_info"
132             android:summary="@string/pref_summary_debug_info" />
133     </PreferenceCategory>
134 -->
135 </PreferenceScreen>