1<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2014 The Android Open Source Project 2 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 7 http://www.apache.org/licenses/LICENSE-2.0 8 9 Unless required by applicable law or agreed to in writing, software 10 distributed under the License is distributed on an "AS IS" BASIS, 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 See the License for the specific language governing permissions and 13 limitations under the License. 14--> 15<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 16 android:layout_width="match_parent" 17 android:layout_height="match_parent"> 18 19 <LinearLayout 20 android:id="@+id/test_controls" 21 android:layout_width="fill_parent" 22 android:layout_height="wrap_content" 23 android:orientation="vertical" 24 android:layout_gravity="top"> 25 26 <LinearLayout 27 android:layout_width="match_parent" 28 android:layout_height="match_parent"> 29 30 <include layout="@layout/pass_fail_buttons" /> 31 </LinearLayout> 32 33 <LinearLayout 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:orientation="horizontal"> 37 38 <Button 39 android:id="@+id/up_button" 40 android:layout_width="match_parent" 41 android:layout_height="wrap_content" 42 android:layout_weight="1" 43 android:text="@string/pwa_button_up" /> 44 45 <Button 46 android:id="@+id/down_button" 47 android:layout_width="match_parent" 48 android:layout_height="wrap_content" 49 android:layout_weight="1" 50 android:text="@string/pwa_button_down" /> 51 52 </LinearLayout> 53 </LinearLayout> 54 55 <TextureView 56 android:id="@+id/texture_view" 57 android:layout_width="match_parent" 58 android:layout_height="match_parent" 59 android:layout_below="@id/test_controls" /> 60 61</RelativeLayout> 62