OSDN Git Service

Preferenceを階層化して整理。
[gokigen/Gr2Control.git] / app / src / main / res / xml / preferences_fuji_x.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_fuji_x_exit_only" />
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="FUJI_X"/>
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         <CheckBoxPreference
29             android:key="capture_both_camera_and_live_view"
30             android:title="@string/pref_capture_both_camera_and_live_view" />
31 -->
32         <CheckBoxPreference
33             android:key="fujix_display_camera_view"
34             android:title="@string/pref_fujix_display_camera_view"
35             android:summary="@string/pref_fujix_display_camera_view_summary"/>
36
37         <EditTextPreference
38             android:key="fujix_focus_xy"
39             android:title="@string/pref_fujix_focus_xy"
40             android:defaultValue="7,7"
41             android:summary="@string/pref_summary_fujix_focus_xy" />
42
43         <EditTextPreference
44             android:key="fujix_command_polling_wait"
45             android:title="@string/pref_fujix_command_polling_wait"
46             android:defaultValue="500"
47             android:summary="@string/pref_summary_fujix_command_polling_wait" />
48
49         <EditTextPreference
50             android:key="fujix_liveview_wait"
51             android:title="@string/pref_fujix_liveview_wait"
52             android:defaultValue="80"
53             android:summary="@string/pref_summary_fujix_liveview_wait" />
54
55     </PreferenceCategory>
56 <!--
57     <PreferenceCategory
58         android:title="@string/pref_cat_initialize">
59
60         <CheckBoxPreference
61             android:key="auto_connect_to_camera"
62             android:title="@string/pref_auto_connect_camera"
63             android:summary="@string/pref_summary_auto_connect_camera" />
64     </PreferenceCategory>
65 -->
66
67     <PreferenceCategory
68         android:title="@string/pref_cat_others">
69 <!--
70         <CheckBoxPreference
71             android:key="share_after_save"
72             android:title="@string/pref_call_share_after_save" />
73
74         <CheckBoxPreference
75             android:key="use_playback_menu"
76             android:title="@string/pref_use_playback_menu"
77             android:summary="@string/summary_use_playback_menu" />
78 -->
79
80         <Preference
81             android:key="special_thanks"
82             android:title="@string/pref_special_thanks"
83             android:summary="https://github.com/hkr/fuji-cam-wifi-tool"
84             android:selectable="true">
85             <intent android:action="android.intent.action.VIEW"
86                 android:data="https://github.com/hkr/fuji-cam-wifi-tool" />
87         </Preference>
88     </PreferenceCategory>
89 <!--
90     <PreferenceCategory
91         android:title="@string/pref_cat_gokigen">
92
93         <Preference
94             android:key="instruction_link"
95             android:title="@string/pref_instruction_manual"
96             android:summary="https://osdn.net/projects/gokigen/wiki/GR2Control"
97             android:selectable="true">
98             <intent android:action="android.intent.action.VIEW"
99                 android:data="https://osdn.net/projects/gokigen/wiki/GR2Control" />
100         </Preference>
101
102         <Preference
103             android:key="privacy_policy"
104             android:title="@string/pref_privacy_policy"
105             android:summary="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy"
106             android:selectable="true">
107             <intent android:action="android.intent.action.VIEW"
108                 android:data="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy" />
109         </Preference>
110
111         <PreferenceScreen
112             android:key="debug_info"
113             android:title="@string/pref_degug_info"
114             android:summary="@string/pref_summary_debug_info" />
115     </PreferenceCategory>
116 -->
117 </PreferenceScreen>