1<?xml version="1.0" encoding="utf-8"?>
2<ScrollView
3    xmlns:android="http://schemas.android.com/apk/res/android"
4    xmlns:tools="http://schemas.android.com/tools"
5    tools:context="com.google.sample.oboe.manualtest.EchoActivity"
6    android:layout_width="match_parent"
7    android:layout_height="match_parent">
8    <LinearLayout
9        android:layout_width="match_parent"
10        android:layout_height="match_parent"
11        android:orientation="vertical"
12        android:paddingBottom="@dimen/activity_vertical_margin"
13        android:paddingLeft="@dimen/activity_horizontal_margin"
14        android:paddingRight="@dimen/activity_horizontal_margin"
15        android:paddingTop="@dimen/activity_vertical_margin"
16        >
17
18        <com.google.sample.oboe.manualtest.StreamConfigurationView
19            android:id="@+id/inputStreamConfiguration"
20            android:layout_width="match_parent"
21            android:layout_height="wrap_content"
22            android:gravity="center"
23            android:orientation="horizontal" />
24
25        <com.google.sample.oboe.manualtest.InputMarginView
26            android:id="@+id/input_margin_view"
27            android:layout_width="match_parent"
28            android:layout_height="wrap_content"
29            android:gravity="center" />
30
31        <com.google.sample.oboe.manualtest.StreamConfigurationView
32            android:id="@+id/outputStreamConfiguration"
33            android:layout_width="match_parent"
34            android:layout_height="wrap_content"
35            android:gravity="center"
36            android:orientation="horizontal" />
37
38        <LinearLayout
39            android:layout_width="match_parent"
40            android:layout_height="wrap_content"
41            android:orientation="horizontal">
42
43            <Button
44                android:id="@+id/button_start_echo"
45                android:layout_width="0dp"
46                android:layout_weight="1"
47                android:layout_height="wrap_content"
48                android:onClick="onStartEcho"
49                android:text="@string/startAudio" />
50
51            <Button
52                android:id="@+id/button_stop_echo"
53                android:layout_width="0dp"
54                android:layout_weight="1"
55                android:layout_height="wrap_content"
56                android:onClick="onStopEcho"
57                android:text="@string/stopAudio" />
58        </LinearLayout>
59
60        <LinearLayout
61            android:layout_width="match_parent"
62            android:layout_height="wrap_content"
63            android:orientation="vertical">
64
65            <TextView
66                android:id="@+id/text_delay_time"
67                android:layout_width="wrap_content"
68                android:layout_height="wrap_content"
69                android:text="Delay (msec)" />
70
71            <SeekBar
72                android:id="@+id/fader_delay_time"
73                android:layout_width="match_parent"
74                android:layout_height="wrap_content"
75                android:max="1000"
76                android:progress="1000" />
77        </LinearLayout>
78
79
80        <TextView
81            android:id="@+id/text_status"
82            android:layout_width="match_parent"
83            android:layout_height="wrap_content"
84            android:lines="11"
85            android:text="@string/echo_instructions"
86            android:textSize="14sp"
87            android:textStyle="bold" />
88
89    </LinearLayout>
90</ScrollView>