blob: 2c6c8d7cae204e1e4461c3a350c29b46565e31b8 [file] [log] [blame]
Arunesh Mishraa772e5f2016-01-25 10:33:11 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2014 Google Inc.
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
Chris Thorntondfa7c3b2016-06-30 22:05:51 -070021 android:orientation="vertical">
Arunesh Mishraa772e5f2016-01-25 10:33:11 -080022
Chris Thorntondfa7c3b2016-06-30 22:05:51 -070023 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
24 android:layout_width="match_parent"
25 android:layout_height="wrap_content">
26
27 <Button
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 android:text="@string/load"
31 android:onClick="onLoadButtonClicked"
32 android:padding="20dp" />
33
34 <Button
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:text="@string/start_recog"
38 android:onClick="onStartRecognitionButtonClicked"
39 android:padding="20dp" />
40
41 <Button
42 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
44 android:text="@string/stop_recog"
45 android:onClick="onStopRecognitionButtonClicked"
46 android:padding="20dp" />
47
48 <Button
49 android:layout_width="wrap_content"
50 android:layout_height="wrap_content"
51 android:text="@string/unload"
52 android:onClick="onUnloadButtonClicked"
53 android:padding="20dp" />
54
55 </LinearLayout>
56
57 <LinearLayout
58 android:orientation="horizontal"
59 android:layout_width="match_parent"
60 android:layout_height="wrap_content">
61
62 <Button
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:text="@string/reload"
66 android:onClick="onReloadButtonClicked"
67 android:padding="20dp" />
68
69 <Button
70 android:id="@+id/play_trigger_id"
71 android:layout_width="wrap_content"
72 android:layout_height="wrap_content"
73 android:text="@string/play_trigger"
74 android:onClick="onPlayTriggerButtonClicked"
75 android:padding="20dp" />
76 </LinearLayout>
77
78 <LinearLayout
79 android:orientation="horizontal"
80 android:layout_width="match_parent"
Arunesh Mishraa772e5f2016-01-25 10:33:11 -080081 android:layout_height="wrap_content"
Chris Thorntondfa7c3b2016-06-30 22:05:51 -070082 android:layout_gravity="right">
Arunesh Mishraa772e5f2016-01-25 10:33:11 -080083
Chris Thorntondfa7c3b2016-06-30 22:05:51 -070084 <CheckBox
85 android:layout_width="wrap_content"
86 android:layout_height="wrap_content"
87 android:text="@string/capture"
88 android:id="@+id/caputre_check_box"
89 android:layout_gravity="center_horizontal"
Chris Thorntond9568892016-07-15 19:55:32 -070090 android:onClick="onCaptureAudioCheckboxClicked"
Chris Thorntondfa7c3b2016-06-30 22:05:51 -070091 android:padding="20dp" />
Arunesh Mishraa772e5f2016-01-25 10:33:11 -080092
Chris Thorntondfa7c3b2016-06-30 22:05:51 -070093 <Button
94 android:id="@+id/play_captured_id"
95 android:layout_width="wrap_content"
96 android:layout_height="wrap_content"
97 android:text="@string/play_capture"
Chris Thorntond9568892016-07-15 19:55:32 -070098 android:onClick="onPlayCapturedAudioButtonClicked"
Chris Thorntondfa7c3b2016-06-30 22:05:51 -070099 android:padding="20dp"
100 android:enabled="false" />
101 </LinearLayout>
Arunesh Mishra3fff7f52016-02-09 12:15:19 -0800102
Chris Thorntondfa7c3b2016-06-30 22:05:51 -0700103 <RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
Chris Thornton15ab2b42016-04-10 20:15:33 -0700104 android:id="@+id/model_group_id"
Arunesh Mishra3fff7f52016-02-09 12:15:19 -0800105 android:layout_width="fill_parent"
106 android:layout_height="wrap_content"
107 android:padding="20dp"
Chris Thorntondfa7c3b2016-06-30 22:05:51 -0700108 android:orientation="vertical" />
Arunesh Mishra3fff7f52016-02-09 12:15:19 -0800109
Chris Thorntondfa7c3b2016-06-30 22:05:51 -0700110 <ScrollView
Arunesh Mishra933da812016-02-18 15:31:54 -0800111 android:id="@+id/scroller_id"
112 android:layout_width="fill_parent"
113 android:layout_height="wrap_content"
114 android:scrollbars="vertical"
115 android:fillViewport="true">
116
Chris Thorntondfa7c3b2016-06-30 22:05:51 -0700117 <TextView
118 android:id="@+id/console"
119 android:paddingTop="20pt"
120 android:layout_height="fill_parent"
121 android:layout_width="fill_parent"
122 android:textSize="14dp"
123 android:layout_weight="1.0"
124 android:text="@string/none" />
125 </ScrollView>
Arunesh Mishra3fff7f52016-02-09 12:15:19 -0800126</LinearLayout>