[136014a] | 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 | <TextView |
---|
| 8 | android:id="@+id/textViewLabelAttention" |
---|
| 9 | style="@android:style/TextAppearance.Small" |
---|
| 10 | android:layout_width="wrap_content" |
---|
| 11 | android:layout_height="wrap_content" |
---|
| 12 | android:text="@string/label_attention" /> |
---|
| 13 | |
---|
| 14 | <ProgressBar |
---|
| 15 | android:id="@+id/progressBarAttention" |
---|
| 16 | style="?android:attr/progressBarStyleHorizontal" |
---|
| 17 | android:layout_width="match_parent" |
---|
| 18 | android:layout_height="wrap_content" /> |
---|
| 19 | |
---|
| 20 | <SeekBar |
---|
| 21 | android:id="@+id/seekBarAttention" |
---|
| 22 | android:layout_width="match_parent" |
---|
| 23 | android:layout_height="wrap_content" |
---|
| 24 | android:max="100" |
---|
| 25 | android:progress="72" |
---|
| 26 | android:progressDrawable="@xml/progress_drawable" |
---|
| 27 | android:thumb="@xml/thumb_drawable" /> |
---|
| 28 | |
---|
| 29 | <TextView |
---|
| 30 | android:id="@+id/textViewLabelMeditation" |
---|
| 31 | style="@android:style/TextAppearance.Small" |
---|
| 32 | android:layout_width="wrap_content" |
---|
| 33 | android:layout_height="wrap_content" |
---|
| 34 | android:text="@string/label_meditation" /> |
---|
| 35 | |
---|
| 36 | <ProgressBar |
---|
| 37 | android:id="@+id/progressBarMeditation" |
---|
| 38 | style="?android:attr/progressBarStyleHorizontal" |
---|
| 39 | android:layout_width="match_parent" |
---|
| 40 | android:layout_height="wrap_content" /> |
---|
| 41 | |
---|
| 42 | <SeekBar |
---|
| 43 | android:id="@+id/seekBarMeditation" |
---|
| 44 | android:layout_width="match_parent" |
---|
| 45 | android:layout_height="wrap_content" |
---|
| 46 | android:max="100" |
---|
| 47 | android:progress="82" |
---|
| 48 | android:progressDrawable="@xml/progress_drawable" |
---|
| 49 | android:thumb="@xml/thumb_drawable" /> |
---|
| 50 | |
---|
| 51 | <TextView |
---|
| 52 | android:id="@+id/textViewLabelSignal" |
---|
| 53 | style="@android:style/TextAppearance.Small" |
---|
| 54 | android:layout_width="wrap_content" |
---|
| 55 | android:layout_height="wrap_content" |
---|
| 56 | android:text="@string/label_signal" /> |
---|
| 57 | |
---|
| 58 | <ProgressBar |
---|
| 59 | android:id="@+id/progressBarSignal" |
---|
| 60 | style="?android:attr/progressBarStyleHorizontal" |
---|
| 61 | android:layout_width="match_parent" |
---|
| 62 | android:layout_height="wrap_content" /> |
---|
| 63 | |
---|
| 64 | <TextView |
---|
| 65 | android:id="@+id/textViewLabelPower" |
---|
| 66 | style="@android:style/TextAppearance.Small" |
---|
| 67 | android:layout_width="wrap_content" |
---|
| 68 | android:layout_height="wrap_content" |
---|
| 69 | android:text="@string/label_power" /> |
---|
| 70 | |
---|
| 71 | <ProgressBar |
---|
| 72 | android:id="@+id/progressBarPower" |
---|
| 73 | style="?android:attr/progressBarStyleHorizontal" |
---|
| 74 | android:layout_width="match_parent" |
---|
| 75 | android:layout_height="wrap_content" /> |
---|
| 76 | |
---|
| 77 | <View |
---|
| 78 | android:layout_width="match_parent" |
---|
| 79 | android:layout_height="10dp" > |
---|
| 80 | </View> |
---|
| 81 | |
---|
| 82 | <LinearLayout |
---|
| 83 | android:id="@+id/layoutControl" |
---|
| 84 | android:layout_width="match_parent" |
---|
| 85 | android:layout_height="wrap_content" |
---|
| 86 | android:orientation="horizontal" > |
---|
| 87 | |
---|
| 88 | <View |
---|
| 89 | android:layout_width="5dp" |
---|
| 90 | android:layout_height="0dp" > |
---|
| 91 | </View> |
---|
| 92 | |
---|
| 93 | <Button |
---|
| 94 | android:id="@+id/buttonConnect" |
---|
| 95 | style="@android:style/TextAppearance.Small" |
---|
| 96 | android:layout_width="wrap_content" |
---|
| 97 | android:layout_height="wrap_content" |
---|
| 98 | android:onClick="connectHeadset" |
---|
| 99 | android:text="@string/button_connect" /> |
---|
| 100 | |
---|
| 101 | <Button |
---|
| 102 | android:id="@+id/buttonTestFly" |
---|
| 103 | style="@android:style/TextAppearance.Small" |
---|
| 104 | android:layout_width="wrap_content" |
---|
| 105 | android:layout_height="wrap_content" |
---|
| 106 | android:onClick="demoMode" |
---|
| 107 | android:text="@string/button_test_fly" /> |
---|
| 108 | |
---|
| 109 | <Button |
---|
| 110 | android:id="@+id/buttonStopTest" |
---|
| 111 | style="@android:style/TextAppearance.Small" |
---|
| 112 | android:layout_width="wrap_content" |
---|
| 113 | android:layout_height="wrap_content" |
---|
| 114 | android:onClick="demoStop" |
---|
| 115 | android:text="@string/button_stop_test" /> |
---|
| 116 | |
---|
| 117 | <View |
---|
| 118 | android:layout_width="10dp" |
---|
| 119 | android:layout_height="0dp" > |
---|
| 120 | </View> |
---|
| 121 | |
---|
| 122 | <CheckBox |
---|
| 123 | android:id="@+id/checkBoxAdvancedOptions" |
---|
| 124 | android:layout_width="wrap_content" |
---|
| 125 | android:layout_height="wrap_content" |
---|
| 126 | android:onClick="onCheckBoxAdvancedOptionsClicked" |
---|
| 127 | android:text="@string/checkbox_advanced_options" /> |
---|
| 128 | </LinearLayout> |
---|
| 129 | |
---|
[0337b74] | 130 | <com.androidplot.xy.XYPlot |
---|
| 131 | android:id="@+id/eegRawHistoryPlot" |
---|
| 132 | android:layout_width="fill_parent" |
---|
| 133 | android:layout_height="wrap_content" |
---|
| 134 | android:layout_marginLeft="10dp" |
---|
| 135 | android:layout_marginRight="10dp" |
---|
| 136 | android:layout_marginTop="10dp" |
---|
| 137 | android:layout_weight="1" |
---|
| 138 | title="EEG Raw Wave" /> |
---|
| 139 | |
---|
[136014a] | 140 | <LinearLayout |
---|
| 141 | android:id="@+id/layoutAudioService" |
---|
| 142 | android:layout_width="match_parent" |
---|
| 143 | android:layout_height="wrap_content" |
---|
| 144 | android:orientation="vertical" > |
---|
| 145 | |
---|
| 146 | <TextView |
---|
| 147 | android:id="@+id/textViewThrottle" |
---|
| 148 | android:layout_width="wrap_content" |
---|
| 149 | android:layout_height="wrap_content" |
---|
| 150 | android:text="@string/textview_throttle" /> |
---|
| 151 | |
---|
| 152 | <SeekBar |
---|
| 153 | android:id="@+id/seekBarThrottle" |
---|
| 154 | android:layout_width="match_parent" |
---|
| 155 | android:layout_height="wrap_content" |
---|
| 156 | android:max="127" |
---|
| 157 | android:progress="80" /> |
---|
| 158 | |
---|
| 159 | <TextView |
---|
| 160 | android:id="@+id/textViewYaw" |
---|
| 161 | android:layout_width="wrap_content" |
---|
| 162 | android:layout_height="wrap_content" |
---|
| 163 | android:text="@string/textview_yaw" /> |
---|
| 164 | |
---|
| 165 | <SeekBar |
---|
| 166 | android:id="@+id/seekBarYaw" |
---|
| 167 | android:layout_width="match_parent" |
---|
| 168 | android:layout_height="wrap_content" |
---|
| 169 | android:max="127" |
---|
| 170 | android:progress="78" /> |
---|
| 171 | |
---|
| 172 | <TextView |
---|
| 173 | android:id="@+id/textViewPitch" |
---|
| 174 | android:layout_width="wrap_content" |
---|
| 175 | android:layout_height="wrap_content" |
---|
| 176 | android:text="@string/textview_pitch" /> |
---|
| 177 | |
---|
| 178 | <SeekBar |
---|
| 179 | android:id="@+id/seekBarPitch" |
---|
| 180 | android:layout_width="match_parent" |
---|
| 181 | android:layout_height="wrap_content" |
---|
| 182 | android:max="63" |
---|
| 183 | android:progress="31" /> |
---|
| 184 | </LinearLayout> |
---|
| 185 | |
---|
| 186 | <LinearLayout |
---|
| 187 | android:id="@+id/layoutAdvancedOptions" |
---|
| 188 | android:layout_width="match_parent" |
---|
| 189 | android:layout_height="wrap_content" |
---|
| 190 | android:orientation="horizontal" > |
---|
| 191 | |
---|
| 192 | <View |
---|
| 193 | android:layout_width="10dp" |
---|
| 194 | android:layout_height="0dp" > |
---|
| 195 | </View> |
---|
| 196 | |
---|
| 197 | <RadioGroup |
---|
| 198 | android:id="@+id/radioGroupChannel" |
---|
| 199 | android:layout_width="wrap_content" |
---|
| 200 | android:layout_height="wrap_content" |
---|
| 201 | android:orientation="horizontal" > |
---|
| 202 | |
---|
| 203 | <TextView |
---|
| 204 | android:id="@+id/textViewChannel" |
---|
| 205 | android:layout_width="wrap_content" |
---|
| 206 | android:layout_height="wrap_content" |
---|
| 207 | android:text="@string/text_view_channel" /> |
---|
| 208 | |
---|
| 209 | <RadioButton |
---|
| 210 | android:id="@+id/radioA" |
---|
| 211 | android:layout_width="wrap_content" |
---|
| 212 | android:layout_height="wrap_content" |
---|
| 213 | android:text="@string/radio_a" /> |
---|
| 214 | |
---|
| 215 | <RadioButton |
---|
| 216 | android:id="@+id/radioB" |
---|
| 217 | android:layout_width="wrap_content" |
---|
| 218 | android:layout_height="wrap_content" |
---|
| 219 | android:text="@string/radio_b" /> |
---|
| 220 | |
---|
| 221 | <RadioButton |
---|
| 222 | android:id="@+id/radioC" |
---|
| 223 | android:layout_width="wrap_content" |
---|
| 224 | android:layout_height="wrap_content" |
---|
| 225 | android:text="@string/radio_c" /> |
---|
| 226 | </RadioGroup> |
---|
| 227 | |
---|
| 228 | <View |
---|
| 229 | android:id="@+id/viewSpaceGenerateAudio" |
---|
| 230 | android:layout_width="5dp" |
---|
| 231 | android:layout_height="0dp" > |
---|
| 232 | </View> |
---|
| 233 | |
---|
| 234 | <CheckBox |
---|
| 235 | android:id="@+id/checkBoxGenerateAudio" |
---|
| 236 | android:layout_width="wrap_content" |
---|
| 237 | android:layout_height="wrap_content" |
---|
| 238 | android:checked="true" |
---|
| 239 | android:onClick="onCheckBoxGenerateAudioClicked" |
---|
| 240 | android:text="@string/checkbox_generate_audio" /> |
---|
| 241 | |
---|
| 242 | <LinearLayout |
---|
| 243 | android:id="@+id/layoutInvertControlSignal" |
---|
| 244 | android:layout_width="wrap_content" |
---|
| 245 | android:layout_height="wrap_content" |
---|
| 246 | android:orientation="horizontal" > |
---|
| 247 | |
---|
| 248 | <View |
---|
| 249 | android:layout_width="20dp" |
---|
| 250 | android:layout_height="0dp" > |
---|
| 251 | </View> |
---|
| 252 | |
---|
| 253 | <CheckBox |
---|
| 254 | android:id="@+id/checkBoxInvertControlSignal" |
---|
| 255 | android:layout_width="wrap_content" |
---|
| 256 | android:layout_height="wrap_content" |
---|
| 257 | android:onClick="onCheckBoxInvertControlSignalClicked" |
---|
| 258 | android:text="@string/checkbox_invert_control_signal" /> |
---|
| 259 | </LinearLayout> |
---|
| 260 | |
---|
| 261 | <View |
---|
| 262 | android:layout_width="10dp" |
---|
| 263 | android:layout_height="0dp" > |
---|
| 264 | </View> |
---|
| 265 | </LinearLayout> |
---|
| 266 | |
---|
| 267 | <ImageView |
---|
| 268 | android:id="@+id/imageViewStatus" |
---|
[8358488] | 269 | android:layout_width="match_parent" |
---|
[136014a] | 270 | android:layout_height="wrap_content" |
---|
| 271 | android:contentDescription="@string/image_description_status" |
---|
| 272 | android:src="@+raw/status_default" /> |
---|
| 273 | |
---|
| 274 | <ScrollView |
---|
| 275 | android:id="@+id/scrollViewDebugConsole" |
---|
| 276 | android:layout_width="match_parent" |
---|
| 277 | android:layout_height="0.0dip" |
---|
| 278 | android:layout_weight="1.0" |
---|
| 279 | android:fadeScrollbars="true" |
---|
| 280 | android:scrollbars="vertical" > |
---|
| 281 | |
---|
| 282 | <TextView |
---|
| 283 | android:id="@+id/textViewDebugConsole" |
---|
| 284 | android:layout_width="match_parent" |
---|
| 285 | android:layout_height="wrap_content" |
---|
| 286 | android:layout_gravity="top" |
---|
| 287 | android:text="@string/label_debug_console" /> |
---|
| 288 | </ScrollView> |
---|
| 289 | |
---|
| 290 | </LinearLayout> |
---|