1<?xml version="1.0" encoding="utf-8"?>
2<!--
3   Copyright (C) 2019 The Android Open Source Project
4
5   Licensed under the Apache License, Version 2.0 (the "License");
6   you may not use this file except in compliance with the License.
7   You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16-->
17<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="wrap_content" >
20
21    <ImageView
22        android:id="@+id/tiles_status"
23        android:layout_width="wrap_content"
24        android:layout_height="wrap_content"
25        android:layout_alignParentLeft="true"
26        android:layout_alignParentTop="true"
27        android:layout_marginTop="10dip"
28        android:contentDescription="@string/pass_button_text"
29        android:padding="10dip"
30        android:src="@drawable/fs_indeterminate" />
31
32    <TextView
33        android:id="@+id/tiles_instructions"
34        style="@style/InstructionsSmallFont"
35        android:layout_width="match_parent"
36        android:layout_height="wrap_content"
37        android:layout_alignParentRight="true"
38        android:layout_alignParentTop="true"
39        android:layout_toRightOf="@id/tiles_status"/>
40
41    <LinearLayout
42        android:layout_width="match_parent"
43        android:layout_height="wrap_content"
44        android:layout_below="@id/tiles_instructions"
45        android:layout_toRightOf="@id/tiles_status"
46        android:layout_alignParentRight="true">
47
48        <Button
49            android:id="@+id/tiles_action_pass"
50            android:layout_width="0dp"
51            android:layout_height="wrap_content"
52            android:layout_weight="1"
53            android:layout_marginLeft="20dip"
54            android:layout_marginRight="10dip"
55            android:onClick="actionPressed"
56            android:clickable="false"
57            android:enabled="false"
58            android:text="Pass"/>
59
60        <Button
61            android:id="@+id/tiles_action_fail"
62            android:layout_width="0dp"
63            android:layout_height="wrap_content"
64            android:layout_weight="1"
65            android:layout_marginLeft="10dip"
66            android:layout_marginRight="20dip"
67            android:clickable="false"
68            android:enabled="false"
69            android:text="Fail"
70            android:onClick="actionPressed" />
71    </LinearLayout>
72
73</RelativeLayout>