1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2023 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:fitsSystemWindows="true"
18              android:orientation="vertical"
19              android:layout_width="match_parent"
20              android:layout_height="match_parent">
21
22        <include layout="@layout/pass_fail_buttons" />
23
24        <TextView
25            android:id="@+id/webcam_instruction_text"
26            android:layout_width="match_parent"
27            android:layout_height="0dp"
28            android:layout_weight="2"
29            android:gravity="center"
30            android:text="@string/camera_webcam_start_text" />
31
32        <Button
33            style="?android:attr/buttonBarButtonStyle"
34            android:id="@+id/camera_webcam_done_button_id"
35            android:layout_width="match_parent"
36            android:layout_height="wrap_content"
37            android:layout_marginLeft="100dp"
38            android:layout_marginRight="100dp"
39            android:text="@string/camera_webcam_done_button" />
40
41        <LinearLayout
42            style="?android:attr/buttonBarStyle"
43            android:layout_width="match_parent"
44            android:layout_height="wrap_content"
45            android:layout_marginTop="10dp"
46            android:layout_marginLeft="50dp"
47            android:layout_marginRight="50dp"
48            android:layout_marginBottom="50dp"
49            android:orientation="horizontal">
50
51            <Button
52                style="?android:attr/buttonBarButtonStyle"
53                android:id="@+id/frames_pass_button"
54                android:layout_width="0dp"
55                android:layout_height="match_parent"
56                android:layout_weight="1"
57                android:text="@string/camera_webcam_frames_pass" />
58
59            <Button
60                style="?android:attr/buttonBarButtonStyle"
61                android:id="@+id/frames_fail_button"
62                android:layout_width="0dp"
63                android:layout_height="match_parent"
64                android:layout_weight="1"
65                android:text="@string/camera_webcam_frames_fail" />
66
67        </LinearLayout>
68</LinearLayout>