xref: /aosp_15_r20/cts/apps/CtsVerifier/res/layout/screenshot_test.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*b7c941bbSAndroid Build Coastguard Worker<!--
3*b7c941bbSAndroid Build Coastguard Worker  ~ Copyright (C) 2023 The Android Open Source Project
4*b7c941bbSAndroid Build Coastguard Worker  ~
5*b7c941bbSAndroid Build Coastguard Worker  ~ Licensed under the Apache License, Version 2.0 (the "License");
6*b7c941bbSAndroid Build Coastguard Worker  ~ you may not use this file except in compliance with the License.
7*b7c941bbSAndroid Build Coastguard Worker  ~ You may obtain a copy of the License at
8*b7c941bbSAndroid Build Coastguard Worker  ~
9*b7c941bbSAndroid Build Coastguard Worker  ~      http://www.apache.org/licenses/LICENSE-2.0
10*b7c941bbSAndroid Build Coastguard Worker  ~
11*b7c941bbSAndroid Build Coastguard Worker  ~ Unless required by applicable law or agreed to in writing, software
12*b7c941bbSAndroid Build Coastguard Worker  ~ distributed under the License is distributed on an "AS IS" BASIS,
13*b7c941bbSAndroid Build Coastguard Worker  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*b7c941bbSAndroid Build Coastguard Worker  ~ See the License for the specific language governing permissions and
15*b7c941bbSAndroid Build Coastguard Worker  ~ limitations under the License.
16*b7c941bbSAndroid Build Coastguard Worker  -->
17*b7c941bbSAndroid Build Coastguard Worker<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18*b7c941bbSAndroid Build Coastguard Worker                android:fitsSystemWindows="@bool/fit_system_windows"
19*b7c941bbSAndroid Build Coastguard Worker                android:id="@+id/root_view"
20*b7c941bbSAndroid Build Coastguard Worker                android:layout_width="match_parent"
21*b7c941bbSAndroid Build Coastguard Worker                android:layout_height="match_parent"
22*b7c941bbSAndroid Build Coastguard Worker                style="@style/RootLayoutPadding">
23*b7c941bbSAndroid Build Coastguard Worker
24*b7c941bbSAndroid Build Coastguard Worker    <TextView android:id="@+id/provisioning_byod_screenshot_description"
25*b7c941bbSAndroid Build Coastguard Worker              android:layout_width="match_parent"
26*b7c941bbSAndroid Build Coastguard Worker              android:layout_height="wrap_content"
27*b7c941bbSAndroid Build Coastguard Worker              android:text="@string/provisioning_byod_screenshot_start"
28*b7c941bbSAndroid Build Coastguard Worker              android:padding="8dp"
29*b7c941bbSAndroid Build Coastguard Worker              android:textSize="18sp" />
30*b7c941bbSAndroid Build Coastguard Worker
31*b7c941bbSAndroid Build Coastguard Worker    <Button
32*b7c941bbSAndroid Build Coastguard Worker        android:id="@+id/provisioning_byod_screenshot_capture"
33*b7c941bbSAndroid Build Coastguard Worker        android:layout_width="wrap_content"
34*b7c941bbSAndroid Build Coastguard Worker        android:layout_height="wrap_content"
35*b7c941bbSAndroid Build Coastguard Worker        android:text="@string/provisioning_byod_screenshot_open"
36*b7c941bbSAndroid Build Coastguard Worker        android:layout_centerHorizontal="true"
37*b7c941bbSAndroid Build Coastguard Worker        android:layout_below="@id/provisioning_byod_screenshot_description"/>
38*b7c941bbSAndroid Build Coastguard Worker
39*b7c941bbSAndroid Build Coastguard Worker    <TextView
40*b7c941bbSAndroid Build Coastguard Worker        android:id="@+id/provisioning_byod_screenshot_preview_label"
41*b7c941bbSAndroid Build Coastguard Worker        android:layout_width="wrap_content"
42*b7c941bbSAndroid Build Coastguard Worker        android:layout_height="wrap_content"
43*b7c941bbSAndroid Build Coastguard Worker        android:layout_gravity="center|top"
44*b7c941bbSAndroid Build Coastguard Worker        android:fontFamily="monospace"
45*b7c941bbSAndroid Build Coastguard Worker        android:padding="8dp"
46*b7c941bbSAndroid Build Coastguard Worker        android:textAlignment="center"
47*b7c941bbSAndroid Build Coastguard Worker        android:textStyle="bold"
48*b7c941bbSAndroid Build Coastguard Worker        android:textSize="14sp"
49*b7c941bbSAndroid Build Coastguard Worker        android:visibility="gone"
50*b7c941bbSAndroid Build Coastguard Worker        android:layout_below="@id/provisioning_byod_screenshot_description" />
51*b7c941bbSAndroid Build Coastguard Worker
52*b7c941bbSAndroid Build Coastguard Worker    <ImageView
53*b7c941bbSAndroid Build Coastguard Worker        android:id="@+id/provisioning_byod_screenshot_preview_image"
54*b7c941bbSAndroid Build Coastguard Worker        android:adjustViewBounds="true"
55*b7c941bbSAndroid Build Coastguard Worker        android:layout_width="wrap_content"
56*b7c941bbSAndroid Build Coastguard Worker        android:layout_height="wrap_content"
57*b7c941bbSAndroid Build Coastguard Worker        android:layout_centerInParent="true"
58*b7c941bbSAndroid Build Coastguard Worker        android:visibility="gone"
59*b7c941bbSAndroid Build Coastguard Worker        android:padding="16dp"
60*b7c941bbSAndroid Build Coastguard Worker        android:background="@drawable/checkerboard"
61*b7c941bbSAndroid Build Coastguard Worker        android:layout_below="@id/provisioning_byod_screenshot_preview_label"
62*b7c941bbSAndroid Build Coastguard Worker        android:layout_above="@id/pass_fail_buttons" />
63*b7c941bbSAndroid Build Coastguard Worker
64*b7c941bbSAndroid Build Coastguard Worker
65*b7c941bbSAndroid Build Coastguard Worker
66*b7c941bbSAndroid Build Coastguard Worker    <include android:id="@+id/pass_fail_buttons"
67*b7c941bbSAndroid Build Coastguard Worker             layout="@layout/pass_fail_buttons"
68*b7c941bbSAndroid Build Coastguard Worker             android:layout_width="match_parent"
69*b7c941bbSAndroid Build Coastguard Worker             android:layout_height="wrap_content"
70*b7c941bbSAndroid Build Coastguard Worker             android:layout_alignParentBottom="true" />
71*b7c941bbSAndroid Build Coastguard Worker</RelativeLayout>
72