OSDN Git Service

NIKON対応ひととおり。
[gokigen/A01d.git] / app / src / main / res / xml / preferences_nikon.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_exit_power_off_nikon" />
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         <EditTextPreference
29             android:key="nikon_focus_xy"
30             android:title="@string/pref_nikon_focus_xy"
31             android:defaultValue="6000,4000"
32             android:summary="@string/pref_summary_nikon_focus_xy" />
33
34         <CheckBoxPreference
35             android:key="capture_both_camera_and_live_view"
36             android:title="@string/pref_capture_both_camera_and_live_view" />
37
38     </PreferenceCategory>
39
40     <PreferenceCategory
41         android:title="@string/pref_cat_initialize">
42
43         <CheckBoxPreference
44         android:key="auto_connect_to_camera"
45         android:title="@string/pref_auto_connect_camera"
46         android:summary="@string/pref_summary_auto_connect_camera" />
47     </PreferenceCategory>
48
49     <PreferenceCategory
50         android:title="@string/pref_cat_gokigen">
51
52         <Preference
53             android:key="instruction_link"
54             android:title="@string/pref_instruction_manual"
55             android:summary="https://osdn.net/projects/gokigen/wiki/A01d"
56             android:selectable="true">
57             <intent android:action="android.intent.action.VIEW"
58                 android:data="https://osdn.net/projects/gokigen/wiki/A01d" />
59         </Preference>
60
61         <Preference
62             android:key="privacy_policy"
63             android:title="@string/pref_privacy_policy"
64             android:summary="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy"
65             android:selectable="true">
66             <intent android:action="android.intent.action.VIEW"
67                 android:data="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy" />
68         </Preference>
69
70         <PreferenceScreen
71             android:key="debug_info"
72             android:title="@string/pref_degug_info"
73             android:summary="@string/pref_summary_debug_info" />
74
75     </PreferenceCategory>
76 </PreferenceScreen>