blob: a34d40c4d5bbcd6ea6c57d0bba585eba47d1529a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.mobileer.oboetester.StreamConfigurationView
android:id="@+id/streamConfiguration"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal" />
<com.mobileer.oboetester.BufferSizeView
android:id="@+id/buffer_size_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal" />
<com.mobileer.oboetester.WorkloadView
android:id="@+id/workload_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/button_open"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:backgroundTint="@xml/button_color_selector"
android:backgroundTintMode="src_atop"
android:onClick="openAudio"
android:text="@string/openAudio"
android:textSize="12sp" />
<Button
android:id="@+id/button_start"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:backgroundTint="@xml/button_color_selector"
android:backgroundTintMode="src_atop"
android:onClick="startAudio"
android:text="@string/startAudio"
android:textSize="12sp" />
<Button
android:id="@+id/button_pause"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:backgroundTint="@xml/button_color_selector"
android:backgroundTintMode="src_atop"
android:onClick="pauseAudio"
android:text="@string/pauseAudio"
android:textSize="12sp" />
<Button
android:id="@+id/button_stop"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:backgroundTint="@xml/button_color_selector"
android:backgroundTintMode="src_atop"
android:onClick="stopAudio"
android:text="@string/stopAudio"
android:textSize="12sp" />
<Button
android:id="@+id/button_release"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:backgroundTint="@xml/button_color_selector"
android:backgroundTintMode="src_atop"
android:onClick="releaseAudio"
android:text="@string/releaseAudio"
android:textSize="12sp" />
<Button
android:id="@+id/button_close"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:backgroundTint="@xml/button_color_selector"
android:backgroundTintMode="src_atop"
android:onClick="closeAudio"
android:text="@string/closeAudio"
android:textSize="12sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<CheckBox
android:id="@+id/callbackReturnStop"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="callback returns STOP" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hang_prompt" />
<Spinner
android:id="@+id/spinner_hang_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:entries="@array/hang_times" />
</LinearLayout>
</merge>
|