OSDN Git Service

ちょっとだけ、preferenceの準備。
[gokigen/FujiCam.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_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     </PreferenceCategory>
19
20     <PreferenceCategory
21         android:title="@string/pref_cat_camera">
22
23         <CheckBoxPreference
24             android:key="capture_both_camera_and_live_view"
25             android:title="@string/pref_capture_both_camera_and_live_view" />
26
27     </PreferenceCategory>
28
29
30     <PreferenceCategory
31         android:title="@string/pref_cat_others">
32
33
34     </PreferenceCategory>
35
36     <PreferenceCategory
37         android:title="@string/pref_cat_gokigen">
38
39         <Preference
40             android:key="instruction_link"
41             android:title="@string/pref_instruction_manual"
42             android:summary="https://osdn.net/projects/gokigen/wiki/GR2Control"
43             android:selectable="true">
44             <intent android:action="android.intent.action.VIEW"
45                 android:data="https://osdn.net/projects/gokigen/wiki/GR2Control" />
46         </Preference>
47
48         <Preference
49             android:key="privacy_policy"
50             android:title="@string/pref_privacy_policy"
51             android:summary="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy"
52             android:selectable="true">
53             <intent android:action="android.intent.action.VIEW"
54                 android:data="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy" />
55         </Preference>
56
57     </PreferenceCategory>
58 </PreferenceScreen>