blob: 7114fda8f97e8b61a0b80090c7e6881374c077c2 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center_horizontal"
style="@style/RootLayoutPadding">
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical" >
<TextView
android:id="@+id/bubble_test_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/InstructionsFont"/>
<!-- The padding here matches what InstructionsFont has so that these look
nice together-->
<TextView
android:id="@+id/bubble_test_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"
style="@style/InstructionsSmallFont"/>
<Button
android:id="@+id/bubble_test_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="24dp"/>
<!-- Pass / fail buttons for the test step -->
<LinearLayout
android:id="@+id/button_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="horizontal">
<Button
android:id="@+id/test_step_passed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/pass_button_text"/>
<Button
android:id="@+id/test_step_failed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/fail_button_text"/>
</LinearLayout>
</LinearLayout>
</ScrollView>
<include
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
layout="@layout/pass_fail_buttons" />
</LinearLayout>