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 |
---|
81 | android:layout_width="fill_parent" |
---|
82 | android:id="@+id/scrollViewDebugConsole" |
---|
83 | android:fadeScrollbars="true" |
---|
84 | android:scrollbars="vertical" |
---|
85 | android:layout_height="0dip" |
---|
86 | android:layout_weight="1.00"> |
---|
87 | <TextView android:id="@+id/textViewDebugConsole" |
---|
88 | android:layout_width="fill_parent" |
---|
89 | android:text="@string/label_debug_console" |
---|
90 | android:layout_height="fill_parent" |
---|
91 | android:layout_gravity="top"> |
---|
92 | </TextView> |
---|
93 | </ScrollView> |
---|
94 | |
---|
95 | <Button |
---|
96 | android:layout_width="fill_parent" |
---|
97 | android:layout_height="wrap_content" |
---|
98 | android:id="@+id/button1" |
---|
99 | android:text="@string/button_connect" |
---|
100 | android:onClick="connectHeadset"> |
---|
101 | </Button> |
---|
102 | |
---|
103 | <Button |
---|
104 | android:layout_width="fill_parent" |
---|
105 | android:layout_height="wrap_content" |
---|
106 | android:id="@+id/button2" |
---|
107 | android:text="@string/button_demo" |
---|
108 | android:onClick="demoMode"> |
---|
109 | </Button> |
---|
110 | |
---|
111 | </LinearLayout> |
---|
112 | |
---|