source: orbit/android/res/layout/activity_main.xml @ 46fb26f

RawEEGRaw_EEG_PlotServoTab_Interfacepyramid
Last change on this file since 46fb26f was e511c74, checked in by Steve Castellotti <sc@…>, 8 years ago
  • Log output controlled by "DEBUG" variable in preparation for production release
  • appendTextAndScroll disabled due to scrolling failure
  • stopControl checks that soundPool has been initialized
  • Removed legacy comments from XML files
  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2
3<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
4    android:layout_width="fill_parent"
5    android:layout_height="fill_parent"
6    android:orientation="vertical" >
7
8    <TextView
9        android:id="@+id/textViewLabelAttention"
10        android:layout_width="wrap_content"
11        android:layout_height="wrap_content"
12        android:text="@string/label_attention"
13        android:textAppearance="?android:attr/textAppearanceLarge" />
14
15    <ProgressBar
16        android:id="@+id/progressBarAttention"
17        style="?android:attr/progressBarStyleHorizontal"
18        android:layout_width="match_parent"
19        android:layout_height="wrap_content" />
20
21    <SeekBar
22        android:id="@+id/seekBarAttention"
23        android:layout_width="match_parent"
24        android:layout_height="wrap_content"
25        android:max="100"
26        android:progress="72"
27        android:progressDrawable="@xml/progress_drawable"
28        android:thumb="@xml/thumb_drawable" />
29
30
31    <TextView
32        android:id="@+id/textViewLabelMeditation"
33        android:layout_width="wrap_content"
34        android:layout_height="wrap_content"
35        android:text="@string/label_meditation"
36        android:textAppearance="?android:attr/textAppearanceLarge" />
37
38    <ProgressBar
39        android:id="@+id/progressBarMeditation"
40        style="?android:attr/progressBarStyleHorizontal"
41        android:layout_width="match_parent"
42        android:layout_height="wrap_content" />
43
44
45    <SeekBar
46        android:id="@+id/seekBarMeditation"
47        android:layout_width="match_parent"
48        android:layout_height="wrap_content"
49        android:max="100"
50        android:progress="82"
51        android:progressDrawable="@xml/progress_drawable"
52        android:thumb="@xml/thumb_drawable" />
53
54    <TextView
55        android:id="@+id/textViewLabelSignal"
56        android:layout_width="wrap_content"
57        android:layout_height="wrap_content"
58        android:text="@string/label_signal"
59        android:textAppearance="?android:attr/textAppearanceLarge" />
60
61    <ProgressBar
62        android:id="@+id/progressBarSignal"
63        style="?android:attr/progressBarStyleHorizontal"
64        android:layout_width="match_parent"
65        android:layout_height="wrap_content" />
66
67    <TextView
68        android:id="@+id/textViewLabelPower"
69        android:layout_width="wrap_content"
70        android:layout_height="wrap_content"
71        android:text="@string/label_power"
72        android:textAppearance="?android:attr/textAppearanceLarge" />
73
74    <ProgressBar
75        android:id="@+id/progressBarPower"
76        style="?android:attr/progressBarStyleHorizontal"
77        android:layout_width="match_parent"
78        android:layout_height="wrap_content" />
79
80    <ScrollView android:layout_width="fill_parent" android:id="@+id/scrollViewDebugConsole" android:fadeScrollbars="true" android:scrollbars="vertical" android:layout_height="0dip" android:layout_weight="1.00">
81            <TextView android:id="@+id/textViewDebugConsole" android:layout_width="fill_parent" android:text="@string/label_debug_console" android:layout_height="fill_parent"></TextView>
82    </ScrollView>
83
84    <Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/button1" android:text="@string/button_connect" android:onClick="connectHeadset"></Button>
85    <Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/button2" android:text="@string/button_demo" android:onClick="demoMode"></Button>
86
87</LinearLayout>
88
Note: See TracBrowser for help on using the repository browser.