1 | <?xml version="1.0" encoding="utf-8"?> |
---|
2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
---|
3 | android:layout_width="match_parent" |
---|
4 | android:layout_height="match_parent" |
---|
5 | android:orientation="vertical" > |
---|
6 | |
---|
7 | <LinearLayout |
---|
8 | android:id="@+id/layoutAudioService" |
---|
9 | android:layout_width="match_parent" |
---|
10 | android:layout_height="wrap_content" |
---|
11 | android:orientation="vertical" > |
---|
12 | |
---|
13 | <TextView |
---|
14 | android:id="@+id/textViewThrottle" |
---|
15 | android:layout_width="wrap_content" |
---|
16 | android:layout_height="wrap_content" |
---|
17 | android:paddingLeft="@dimen/padding_medium" |
---|
18 | android:text="@string/textview_throttle" /> |
---|
19 | |
---|
20 | <SeekBar |
---|
21 | android:id="@+id/seekBarThrottle" |
---|
22 | android:layout_width="match_parent" |
---|
23 | android:layout_height="wrap_content" |
---|
24 | android:max="127" |
---|
25 | android:progress="80" /> |
---|
26 | |
---|
27 | <TextView |
---|
28 | android:id="@+id/textViewYaw" |
---|
29 | android:layout_width="wrap_content" |
---|
30 | android:layout_height="wrap_content" |
---|
31 | android:paddingLeft="@dimen/padding_medium" |
---|
32 | android:text="@string/textview_yaw" /> |
---|
33 | |
---|
34 | <SeekBar |
---|
35 | android:id="@+id/seekBarYaw" |
---|
36 | android:layout_width="match_parent" |
---|
37 | android:layout_height="wrap_content" |
---|
38 | android:max="127" |
---|
39 | android:progress="78" /> |
---|
40 | |
---|
41 | <TextView |
---|
42 | android:id="@+id/textViewPitch" |
---|
43 | android:layout_width="wrap_content" |
---|
44 | android:layout_height="wrap_content" |
---|
45 | android:paddingLeft="@dimen/padding_medium" |
---|
46 | android:text="@string/textview_pitch" /> |
---|
47 | |
---|
48 | <SeekBar |
---|
49 | android:id="@+id/seekBarPitch" |
---|
50 | android:layout_width="match_parent" |
---|
51 | android:layout_height="wrap_content" |
---|
52 | android:max="63" |
---|
53 | android:progress="31" /> |
---|
54 | </LinearLayout> |
---|
55 | |
---|
56 | <LinearLayout |
---|
57 | android:id="@+id/layoutAdvancedPreset" |
---|
58 | android:layout_width="match_parent" |
---|
59 | android:layout_height="wrap_content" |
---|
60 | android:gravity="center" |
---|
61 | android:orientation="horizontal" > |
---|
62 | |
---|
63 | <TextView |
---|
64 | android:id="@+id/textViewLabelPresets" |
---|
65 | android:layout_width="wrap_content" |
---|
66 | android:layout_height="wrap_content" |
---|
67 | android:paddingLeft="@dimen/padding_medium" |
---|
68 | android:paddingRight="@dimen/padding_medium" |
---|
69 | android:text="@string/label_advanced_presets" /> |
---|
70 | |
---|
71 | <!-- |
---|
72 | <Button |
---|
73 | android:id="@+id/buttonReset" |
---|
74 | android:layout_width="wrap_content" |
---|
75 | android:layout_height="wrap_content" |
---|
76 | android:gravity="center_vertical|center_horizontal" |
---|
77 | android:onClick="resetControlSignal" |
---|
78 | android:paddingLeft="@dimen/padding_small" |
---|
79 | android:paddingRight="@dimen/padding_small" |
---|
80 | android:text="@string/button_advanced_reset" /> |
---|
81 | --> |
---|
82 | |
---|
83 | <Button |
---|
84 | android:id="@+id/buttonHover" |
---|
85 | android:layout_width="wrap_content" |
---|
86 | android:layout_height="wrap_content" |
---|
87 | android:gravity="center_vertical|center_horizontal" |
---|
88 | android:onClick="setControlSignalHover" |
---|
89 | android:paddingLeft="@dimen/padding_small" |
---|
90 | android:paddingRight="@dimen/padding_small" |
---|
91 | android:text="@string/button_advanced_hover" /> |
---|
92 | |
---|
93 | <Button |
---|
94 | android:id="@+id/buttonForward" |
---|
95 | android:layout_width="wrap_content" |
---|
96 | android:layout_height="wrap_content" |
---|
97 | android:gravity="center_vertical|center_horizontal" |
---|
98 | android:onClick="setControlSignalForward" |
---|
99 | android:paddingLeft="@dimen/padding_small" |
---|
100 | android:paddingRight="@dimen/padding_small" |
---|
101 | android:text="@string/button_advanced_forward" /> |
---|
102 | |
---|
103 | <Button |
---|
104 | android:id="@+id/buttonLeft" |
---|
105 | android:layout_width="wrap_content" |
---|
106 | android:layout_height="wrap_content" |
---|
107 | android:gravity="center_vertical|center_horizontal" |
---|
108 | android:onClick="setControlSignalLeft" |
---|
109 | android:paddingLeft="@dimen/padding_small" |
---|
110 | android:paddingRight="@dimen/padding_small" |
---|
111 | android:text="@string/button_advanced_left" /> |
---|
112 | |
---|
113 | <Button |
---|
114 | android:id="@+id/buttonRight" |
---|
115 | android:layout_width="wrap_content" |
---|
116 | android:layout_height="wrap_content" |
---|
117 | android:gravity="center_vertical|center_horizontal" |
---|
118 | android:onClick="setControlSignalRight" |
---|
119 | android:paddingLeft="@dimen/padding_small" |
---|
120 | android:paddingRight="@dimen/padding_small" |
---|
121 | android:text="@string/button_advanced_right" /> |
---|
122 | </LinearLayout> |
---|
123 | |
---|
124 | <LinearLayout |
---|
125 | android:id="@+id/layoutAdvancedOptions" |
---|
126 | android:layout_width="match_parent" |
---|
127 | android:layout_height="wrap_content" |
---|
128 | android:gravity="center" |
---|
129 | android:orientation="horizontal" > |
---|
130 | |
---|
131 | <View |
---|
132 | android:layout_width="10dp" |
---|
133 | android:layout_height="0dp" > |
---|
134 | </View> |
---|
135 | |
---|
136 | <RadioGroup |
---|
137 | android:id="@+id/radioGroupChannel" |
---|
138 | android:layout_width="wrap_content" |
---|
139 | android:layout_height="wrap_content" |
---|
140 | android:orientation="horizontal" > |
---|
141 | |
---|
142 | <TextView |
---|
143 | android:id="@+id/textViewChannel" |
---|
144 | android:layout_width="wrap_content" |
---|
145 | android:layout_height="wrap_content" |
---|
146 | android:text="@string/text_view_channel" /> |
---|
147 | |
---|
148 | <RadioButton |
---|
149 | android:id="@+id/radioA" |
---|
150 | android:layout_width="wrap_content" |
---|
151 | android:layout_height="wrap_content" |
---|
152 | android:text="@string/radio_a" /> |
---|
153 | |
---|
154 | <RadioButton |
---|
155 | android:id="@+id/radioB" |
---|
156 | android:layout_width="wrap_content" |
---|
157 | android:layout_height="wrap_content" |
---|
158 | android:text="@string/radio_b" /> |
---|
159 | |
---|
160 | <RadioButton |
---|
161 | android:id="@+id/radioC" |
---|
162 | android:layout_width="wrap_content" |
---|
163 | android:layout_height="wrap_content" |
---|
164 | android:text="@string/radio_c" /> |
---|
165 | </RadioGroup> |
---|
166 | |
---|
167 | <View |
---|
168 | android:id="@+id/viewSpaceGenerateAudio" |
---|
169 | android:layout_width="5dp" |
---|
170 | android:layout_height="0dp" > |
---|
171 | </View> |
---|
172 | |
---|
173 | <CheckBox |
---|
174 | android:id="@+id/checkBoxGenerateAudio" |
---|
175 | android:layout_width="wrap_content" |
---|
176 | android:layout_height="wrap_content" |
---|
177 | android:checked="true" |
---|
178 | android:text="@string/checkbox_generate_audio" /> |
---|
179 | |
---|
180 | <LinearLayout |
---|
181 | android:id="@+id/layoutInvertControlSignal" |
---|
182 | android:layout_width="wrap_content" |
---|
183 | android:layout_height="wrap_content" |
---|
184 | android:orientation="horizontal" > |
---|
185 | |
---|
186 | <View |
---|
187 | android:layout_width="15dp" |
---|
188 | android:layout_height="0dp" > |
---|
189 | </View> |
---|
190 | |
---|
191 | <CheckBox |
---|
192 | android:id="@+id/checkBoxInvertControlSignal" |
---|
193 | android:layout_width="wrap_content" |
---|
194 | android:layout_height="wrap_content" |
---|
195 | android:text="@string/checkbox_invert_control_signal" /> |
---|
196 | </LinearLayout> |
---|
197 | |
---|
198 | <View |
---|
199 | android:layout_width="10dp" |
---|
200 | android:layout_height="0dp" > |
---|
201 | </View> |
---|
202 | </LinearLayout> |
---|
203 | |
---|
204 | <LinearLayout |
---|
205 | android:id="@+id/layoutTiltSensorControl" |
---|
206 | android:layout_width="wrap_content" |
---|
207 | android:layout_height="wrap_content" |
---|
208 | android:gravity="center" |
---|
209 | android:orientation="horizontal" > |
---|
210 | |
---|
211 | <View |
---|
212 | android:layout_width="25dp" |
---|
213 | android:layout_height="0dp" > |
---|
214 | </View> |
---|
215 | |
---|
216 | <CheckBox |
---|
217 | android:id="@+id/checkBoxTiltSensorControl" |
---|
218 | android:layout_width="wrap_content" |
---|
219 | android:layout_height="wrap_content" |
---|
220 | android:gravity="center" |
---|
221 | android:text="@string/checkbox_tilt_sensor_control" /> |
---|
222 | </LinearLayout> |
---|
223 | |
---|
224 | <ScrollView |
---|
225 | android:id="@+id/scrollViewDebugConsole" |
---|
226 | android:layout_width="match_parent" |
---|
227 | android:layout_height="0.0dip" |
---|
228 | android:layout_weight="1.0" |
---|
229 | android:fadeScrollbars="true" |
---|
230 | android:paddingLeft="@dimen/padding_medium" |
---|
231 | android:paddingTop="@dimen/padding_medium" |
---|
232 | android:scrollbars="vertical" > |
---|
233 | |
---|
234 | <TextView |
---|
235 | android:id="@+id/textViewDebugConsole" |
---|
236 | android:layout_width="match_parent" |
---|
237 | android:layout_height="wrap_content" |
---|
238 | android:layout_gravity="top" |
---|
239 | android:text="@string/label_debug_console" /> |
---|
240 | </ScrollView> |
---|
241 | |
---|
242 | </LinearLayout> |
---|