OSDN Git Service

preferenceにプレビュー形式を設定できるようにする。その2。
[gokigen/ThetaView.git] / app / src / main / res / xml / preference_main.xml
1 <PreferenceScreen
2     xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:app="http://schemas.android.com/apk/res-auto">
4
5     <PreferenceCategory
6         app:title="@string/pref_cat_application_control">
7         <PreferenceScreen
8             android:key="exit_application"
9             android:icon="@drawable/ic_baseline_power_settings_new_24"
10             android:title="@string/pref_exit_power_off"
11             android:summary="@string/pref_summary_exit_power_off"
12             />
13         <PreferenceScreen
14             android:key="wifi_settings"
15             android:title="@string/pref_wifi_settings"
16             android:summary="@string/pref_summary_wifi_settings" />
17     </PreferenceCategory>
18
19     <PreferenceCategory
20         app:title="@string/pref_cat_application_settings">
21 <!--
22         <SwitchPreferenceCompat
23             android:key="use_camera_x_preview"
24             android:title="@string/pref_use_camerax_preview"/>
25
26         <SwitchPreferenceCompat
27             android:key="save_local_location"
28             android:title="@string/save_local_location"/>
29 -->
30         <SwitchPreferenceCompat
31             android:key="capture_both_camera_and_live_view"
32             android:title="@string/pref_capture_both_camera_and_live_view"
33             android:summary="@string/pref_summary_capture_both_live_view"/>
34
35         <SwitchPreferenceCompat
36             android:key="show_camera_status"
37             android:title="@string/pref_show_camera_status"
38             android:summary="@string/pref_summary_show_camera_status"/>
39     </PreferenceCategory>
40
41     <PreferenceCategory
42         android:title="@string/pref_cat_camera">
43
44         <DropDownPreference
45             android:entries="@array/preview_format"
46             android:entryValues="@array/preview_format_value"
47             android:key="liveview_resolution"
48             android:title="@string/pref_liveview_resolution"
49             android:summary="@string/pref_summary_liveview_resolution"
50             />
51     </PreferenceCategory>
52
53     <PreferenceCategory
54         app:title="@string/pref_cat_eeg_settings">
55
56         <SwitchPreferenceCompat
57             android:key="use_mindwave_eeg"
58             android:title="@string/pref_use_mindwave_connection"
59             android:summary="@string/pref_summary_use_mindwave_connection"/>
60
61         <DropDownPreference
62             android:entries="@array/eeg_signal_type"
63             android:entryValues="@array/eeg_signal_type_value"
64             android:key="eeg_signal_type"
65             android:title="@string/pref_use_eeg_signal_type"
66             android:summary="@string/pref_summary_use_eeg_signal_type"
67             />
68
69         <SwitchPreferenceCompat
70             android:key="show_eeg_wave_signal"
71             android:title="@string/pref_show_eeg_wave_signal"
72             android:summary="@string/pref_summary_show_eeg_wave_signal"/>
73
74         <SwitchPreferenceCompat
75             android:key="record_eeg_wave_signal"
76             android:title="@string/pref_record_eeg_wave_signal"
77             android:summary="@string/pref_summary_record_eeg_wave_signal"/>
78
79     </PreferenceCategory>
80
81     <PreferenceCategory
82         app:title="@string/pref_cat_gokigen">
83         <Preference
84             android:key="instruction_link"
85             android:title="@string/pref_instruction_manual"
86             android:summary="https://osdn.net/projects/gokigen/wiki/ThetaThoughtShutterS"
87             android:selectable="true">
88             <intent android:action="android.intent.action.VIEW"
89                 android:data="https://osdn.net/projects/gokigen/wiki/ThetaThoughtShutterS" />
90         </Preference>
91         <Preference
92             android:key="privacy_policy"
93             android:title="@string/pref_privacy_policy"
94             android:summary="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy"
95             android:selectable="true">
96             <intent android:action="android.intent.action.VIEW"
97                 android:data="https://osdn.net/projects/gokigen/wiki/PrivacyPolicy" />
98         </Preference>
99         <PreferenceScreen
100             android:key="debug_info"
101             android:title="@string/pref_degug_info"
102             android:summary="@string/pref_summary_debug_info" />
103     </PreferenceCategory>
104
105 </PreferenceScreen>