1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2014 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:orientation="vertical" 21 android:padding="8dp" 22 > 23 24 <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" 25 android:textAppearance="?android:attr/textAppearanceMedium" 26 android:text="We are interacting!" 27 /> 28 29 <TextView android:id="@+id/log" 30 android:layout_width="match_parent" 31 android:layout_height="0px" 32 android:layout_weight="1" 33 android:layout_marginTop="16dp" 34 android:textAppearance="?android:attr/textAppearanceMedium" 35 /> 36 37 <LinearLayout android:layout_width="match_parent" 38 android:layout_height="wrap_content" 39 android:layout_marginTop="16dp" 40 android:orientation="horizontal"> 41 42 <Button android:id="@+id/airplane" 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" 45 android:text="@string/launchAirplane" 46 /> 47 48 </LinearLayout> 49 50 <LinearLayout android:layout_width="match_parent" 51 android:layout_height="wrap_content" 52 android:layout_marginTop="16dp" 53 android:orientation="horizontal"> 54 55 <Button android:id="@+id/complete" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:text="@string/completeVoice" 59 /> 60 61 <Button android:id="@+id/abort" 62 android:layout_width="wrap_content" 63 android:layout_height="wrap_content" 64 android:text="@string/abortVoice" 65 /> 66 67 </LinearLayout> 68 69 <LinearLayout android:layout_width="match_parent" 70 android:layout_height="wrap_content" 71 android:layout_marginTop="16dp" 72 android:orientation="horizontal"> 73 74 <Button android:id="@+id/command" 75 android:layout_width="wrap_content" 76 android:layout_height="wrap_content" 77 android:text="@string/commandVoice" 78 /> 79 80 <Button android:id="@+id/pick" 81 android:layout_width="wrap_content" 82 android:layout_height="wrap_content" 83 android:text="@string/pickVoice" 84 /> 85 86 </LinearLayout> 87 88 <LinearLayout android:layout_width="match_parent" 89 android:layout_height="wrap_content" 90 android:layout_marginTop="16dp" 91 android:layout_marginBottom="16dp" 92 android:orientation="horizontal"> 93 94 <Button android:id="@+id/cancel" 95 android:layout_width="wrap_content" 96 android:layout_height="wrap_content" 97 android:text="@string/cancelVoice" 98 /> 99 100 <Button android:id="@+id/jump" 101 android:layout_width="wrap_content" 102 android:layout_height="wrap_content" 103 android:text="@string/jumpOut" 104 /> 105 106 </LinearLayout> 107 108</LinearLayout> 109