blob: ffcdf135df86f85bc42ca8aa90956bfab506b419 [file] [log] [blame]
Phil Burk06dfb462019-11-26 18:09:58 -08001<?xml version="1.0" encoding="utf-8"?>
2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools"
4 android:layout_width="match_parent"
5 android:layout_height="match_parent"
6 android:orientation="vertical"
7 android:paddingBottom="@dimen/activity_vertical_margin"
8 android:paddingLeft="@dimen/activity_horizontal_margin"
9 android:paddingRight="@dimen/activity_horizontal_margin"
10 android:paddingTop="@dimen/activity_vertical_margin"
11 tools:context="com.google.sample.oboe.manualtest.TestDisconnectActivity">
12
13 <LinearLayout
14 android:layout_width="match_parent"
15 android:layout_height="wrap_content"
16 android:orientation="horizontal">
17
18 <Button
19 android:id="@+id/button_start"
20 android:layout_width="0dp"
21 android:layout_weight="1"
22 android:layout_height="wrap_content"
23 android:onClick="onStartDisconnectTest"
24 android:text="@string/startAudio" />
25
26 <Button
27 android:id="@+id/button_stop"
28 android:layout_width="0dp"
29 android:layout_weight="1"
30 android:layout_height="wrap_content"
31 android:onClick="onStopDisconnectTest"
32 android:text="@string/stopAudio" />
33
34 <Button
35 android:id="@+id/button_share"
36 android:layout_width="0dp"
37 android:layout_weight="1"
38 android:layout_height="wrap_content"
39 android:onClick="onShareResult"
40 android:text="@string/share" />
41 </LinearLayout>
42
43
44 <TextView
45 android:id="@+id/text_analyzer_result"
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
48 android:lines="4"
49 android:text="@string/test_disconnect_instructions"
50 android:textSize="18sp"
51 android:textStyle="bold"
52 />
53
54 <LinearLayout
55 android:layout_width="match_parent"
56 android:layout_height="wrap_content"
57 android:orientation="horizontal">
58
59 <Button
60 android:id="@+id/button_fail"
61 android:layout_width="0dp"
62 android:layout_weight="1"
63 android:layout_height="wrap_content"
64 android:onClick="onFailTest"
65 android:text="@string/failTest" />
66
67 <Button
68 android:id="@+id/button_skip"
69 android:layout_width="0dp"
70 android:layout_weight="1"
71 android:layout_height="wrap_content"
72 android:onClick="onSkipTest"
73 android:text="@string/skipTest" />
74
75 </LinearLayout>
76
77 <TextView
78 android:id="@+id/text_plug_events"
79 android:layout_width="match_parent"
80 android:layout_height="wrap_content"
81 android:lines="1"
82 android:text="plug #"
83 android:textSize="18sp"
84 android:textStyle="bold"
85 />
86
87 <TextView
88 android:id="@+id/text_auto_result"
89 android:layout_width="match_parent"
90 android:layout_height="match_parent"
91 android:scrollbars = "vertical"
92 android:gravity="bottom"
93 android:text="@string/log_of_glitch_tests"
94 />
95
96</LinearLayout>