• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
17    android:layout_width="match_parent"
18    android:layout_height="match_parent" >
19
20     <TextureView
21         android:id="@+id/texture_view"
22         android:layout_width="match_parent"
23         android:layout_height="match_parent" />
24
25     <LinearLayout
26         android:layout_width="fill_parent"
27         android:layout_height="wrap_content"
28         android:orientation="vertical" >
29
30         <LinearLayout
31             android:layout_width="match_parent"
32             android:layout_height="match_parent" >
33
34             <include layout="@layout/pass_fail_buttons" />
35         </LinearLayout>
36
37         <LinearLayout
38             android:layout_width="match_parent"
39             android:layout_height="wrap_content"
40             android:orientation="horizontal" >
41
42             <Button
43                 android:id="@+id/up_button"
44                 android:layout_width="match_parent"
45                 android:layout_height="wrap_content"
46                 android:layout_weight="1"
47                 android:text="@string/pwa_button_up" />
48
49             <Button
50                 android:id="@+id/down_button"
51                 android:layout_width="match_parent"
52                 android:layout_height="wrap_content"
53                 android:layout_weight="1"
54                 android:text="@string/pwa_button_down" />
55
56             <Button
57                 android:id="@+id/left_button"
58                 android:layout_width="match_parent"
59                 android:layout_height="match_parent"
60                 android:layout_weight="1"
61                 android:text="@string/pwa_button_left" />
62
63             <Button
64                 android:id="@+id/right_button"
65                 android:layout_width="match_parent"
66                 android:layout_height="wrap_content"
67                 android:layout_weight="1"
68                 android:text="@string/pwa_button_right" />
69
70         </LinearLayout>
71     </LinearLayout>
72
73</FrameLayout>
74