OSDN Git Service

Preferenceを階層化して整理。
[gokigen/Gr2Control.git] / app / src / main / res / xml / preferences_summary.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         <ListPreference
7             android:title="@string/pref_connection_method"
8             android:entryValues="@array/connection_method_value"
9             android:entries="@array/connection_method"
10             android:key="connection_method"
11             android:defaultValue="RICOH_GR2"/>
12
13         <PreferenceScreen
14             android:key="wifi_settings"
15             android:title="@string/pref_wifi_settings"
16             android:summary="@string/pref_summary_wifi_settings" />
17
18     </PreferenceCategory>
19
20     <PreferenceCategory
21         android:title="@string/pref_cat_camera">
22
23         <PreferenceScreen
24             android:key="ricoh_settings"
25             android:title="@string/pref_ricoh_settings"
26             android:summary="@string/pref_summary_ricoh_settings" />
27
28         <PreferenceScreen
29             android:key="fuji_x_settings"
30             android:title="@string/pref_fuji_x_settings"
31             android:summary="@string/pref_summary_fuji_x_settings" />
32
33         <PreferenceScreen
34             android:key="opc_settings"
35             android:title="@string/pref_opc_settings"
36             android:summary="@string/pref_summary_opc_settings" />
37
38         <CheckBoxPreference
39             android:key="capture_both_camera_and_live_view"
40             android:title="@string/pref_capture_both_camera_and_live_view" />
41
42     </PreferenceCategory>
43
44     <PreferenceCategory
45         android:title="@string/pref_cat_initialize">
46
47         <CheckBoxPreference
48             android:key="auto_connect_to_camera"
49             android:title="@string/pref_auto_connect_camera"
50             android:summary="@string/pref_summary_auto_connect_camera" />
51     </PreferenceCategory>
52
53     <PreferenceCategory
54         android:title="@string/pref_cat_others">
55
56         <CheckBoxPreference
57             android:key="share_after_save"
58             android:title="@string/pref_call_share_after_save" />
59
60         <CheckBoxPreference
61             android:key="use_playback_menu"
62             android:title="@string/pref_use_playback_menu"
63             android:summary="@string/summary_use_playback_menu" />
64
65     </PreferenceCategory>
66
67     <PreferenceCategory
68         android:title="@string/pref_cat_gokigen">
69
70         <Preference
71             android:key="instruction_link"
72             android:title="@string/pref_instruction_manual"
73             android:summary="https://osdn.net/projects/gokigen/wiki/GR2Control"
74             android:selectable="true">
75             <intent android:action="android.intent.action.VIEW"
76                 android:data="https://osdn.net/projects/gokigen/wiki/GR2Control" />
77         </Preference>
78
79         <Preference
80             android:key="privacy_policy"
81             android:title="@string/pref_privacy_policy"
82             android:summary="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy"
83             android:selectable="true">
84             <intent android:action="android.intent.action.VIEW"
85                 android:data="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy" />
86         </Preference>
87
88         <PreferenceScreen
89             android:key="debug_info"
90             android:title="@string/pref_degug_info"
91             android:summary="@string/pref_summary_debug_info" />
92
93     </PreferenceCategory>
94 </PreferenceScreen>