1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2016 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:gravity="center" 18 android:layout_height="match_parent" 19 android:layout_width="match_parent" 20 android:orientation="vertical"> 21 22 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 23 android:layout_height="wrap_content" 24 android:layout_width="match_parent" 25 android:orientation="horizontal"> 26 <Button 27 android:id="@+id/btnGetCap" 28 android:layout_height="@dimen/rvcBtnHeight" 29 android:layout_width ="@dimen/rvcBtnWidth" 30 android:text="@string/rvc_getCapabilities" 31 android:textSize="@dimen/rvcTextSize"/> 32 <TextView 33 android:gravity="center" 34 android:id="@+id/tvCap" 35 android:layout_height="@dimen/rvcBtnHeight" 36 android:layout_width ="@dimen/rvcBtnWidth" 37 android:textSize="@dimen/rvcTextSize"/> 38 </LinearLayout> 39 40 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 41 android:layout_height="wrap_content" 42 android:layout_width="match_parent" 43 android:orientation="horizontal"> 44 <Button 45 android:id="@+id/btnGetRvcCrop" 46 android:layout_height="@dimen/rvcBtnHeight" 47 android:layout_width ="@dimen/rvcBtnWidth" 48 android:text="@string/rvc_getRvcCrop" 49 android:textSize="@dimen/rvcTextSize"/> 50 <TextView 51 android:gravity="center" 52 android:id="@+id/tvRvcCrop" 53 android:layout_height="@dimen/rvcBtnHeight" 54 android:layout_width ="@dimen/rvcBtnWidth" 55 android:textSize="@dimen/rvcTextSize"/> 56 </LinearLayout> 57 58 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 59 android:layout_height="wrap_content" 60 android:layout_width="match_parent" 61 android:orientation="horizontal"> 62 <Button 63 android:id="@+id/btnGetRvcPos" 64 android:layout_height="@dimen/rvcBtnHeight" 65 android:layout_width ="@dimen/rvcBtnWidth" 66 android:text="@string/rvc_getRvcPos" 67 android:textSize="@dimen/rvcTextSize"/> 68 <TextView 69 android:gravity="center" 70 android:id="@+id/tvRvcPos" 71 android:layout_height="@dimen/rvcBtnHeight" 72 android:layout_width ="@dimen/rvcBtnWidth" 73 android:textSize="@dimen/rvcTextSize"/> 74 </LinearLayout> 75 76 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 77 android:layout_height="wrap_content" 78 android:layout_width="match_parent" 79 android:orientation="horizontal"> 80 <Button 81 android:id="@+id/btnGetCameraState" 82 android:layout_height="@dimen/rvcBtnHeight" 83 android:layout_width ="@dimen/rvcBtnWidth" 84 android:text="@string/rvc_getCameraState" 85 android:textSize="@dimen/rvcTextSize"/> 86 <TextView 87 android:gravity="center" 88 android:id="@+id/tvCameraState" 89 android:layout_height="@dimen/rvcBtnHeight" 90 android:layout_width ="@dimen/rvcBtnWidth" 91 android:textSize="@dimen/rvcTextSize"/> 92 </LinearLayout> 93 94 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 95 android:layout_height="wrap_content" 96 android:layout_width="match_parent" 97 android:orientation="horizontal"> 98 <Button 99 android:id="@+id/btnSetRvcCrop" 100 android:layout_height="@dimen/rvcBtnHeight" 101 android:layout_width ="@dimen/rvcBtnWidth" 102 android:text="@string/rvc_setRvcCrop" 103 android:textSize="@dimen/rvcTextSize"/> 104 <Button 105 android:id="@+id/btnSetRvcCrop2" 106 android:layout_height="@dimen/rvcBtnHeight" 107 android:layout_width ="@dimen/rvcBtnWidth" 108 android:text="@string/rvc_setRvcCrop" 109 android:textSize="@dimen/rvcTextSize"/> 110 </LinearLayout> 111 112 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 113 android:layout_height="wrap_content" 114 android:layout_width="match_parent" 115 android:orientation="horizontal"> 116 <Button 117 android:id="@+id/btnSetRvcPos" 118 android:layout_height="@dimen/rvcBtnHeight" 119 android:layout_width ="@dimen/rvcBtnWidth" 120 android:text="@string/rvc_setRvcPos" 121 android:textSize="@dimen/rvcTextSize"/> 122 <Button 123 android:id="@+id/btnSetRvcPos2" 124 android:layout_height="@dimen/rvcBtnHeight" 125 android:layout_width ="@dimen/rvcBtnWidth" 126 android:text="@string/rvc_setRvcPos" 127 android:textSize="@dimen/rvcTextSize"/> 128 <Button 129 android:id="@+id/btnSetRvcPos3" 130 android:layout_height="@dimen/rvcBtnHeight" 131 android:layout_width ="@dimen/rvcBtnWidth" 132 android:text="@string/rvc_setRvcPos" 133 android:textSize="@dimen/rvcTextSize"/> 134 </LinearLayout> 135 136 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 137 android:layout_height="wrap_content" 138 android:layout_width="match_parent" 139 android:orientation="horizontal"> 140 <ToggleButton 141 android:id="@+id/btnRvcState" 142 android:layout_height="@dimen/rvcBtnHeight" 143 android:layout_width ="@dimen/rvcBtnWidth" 144 android:text="@string/rvc_state" 145 android:textSize="@dimen/rvcTextSize"/> 146 </LinearLayout> 147 </LinearLayout> 148