xref: /aosp_15_r20/cts/apps/CtsVerifier/res/layout/sharesheet_album_activity.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2024 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
17    android:fitsSystemWindows="@bool/fit_system_windows"
18    style="@style/RootLayoutPadding"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent">
21
22    <LinearLayout
23        android:layout_width="match_parent"
24        android:layout_height="wrap_content"
25        android:orientation="vertical"
26        android:padding="8dp">
27
28        <TextView
29            android:id="@+id/instructions"
30            android:layout_width="match_parent"
31            android:layout_height="wrap_content"
32            android:text="@string/sharesheet_album_test_step_1"
33            android:textColor="?android:attr/textColorPrimary"
34            android:textSize="20sp" />
35
36        <LinearLayout
37            android:id="@+id/step_two_buttons"
38            style="?android:attr/buttonBarStyle"
39            android:layout_width="match_parent"
40            android:layout_height="wrap_content"
41            android:orientation="horizontal"
42            android:visibility="gone">
43
44            <Button
45                android:id="@+id/title_yes"
46                style="?android:attr/buttonBarButtonStyle"
47                android:layout_width="0dp"
48                android:layout_height="wrap_content"
49                android:layout_weight="1"
50                android:text="@string/yes_string" />
51
52            <Button
53                android:id="@+id/title_no"
54                style="?android:attr/buttonBarButtonStyle"
55                android:layout_width="0dp"
56                android:layout_height="wrap_content"
57                android:layout_weight="1"
58                android:text="@string/no_string" />
59        </LinearLayout>
60
61        <Button
62            android:id="@+id/share"
63            android:layout_width="match_parent"
64            android:layout_height="wrap_content"
65            android:text="@string/sharesheet_share_label" />
66
67        <View
68            android:layout_width="wrap_content"
69            android:layout_height="0dp"
70            android:layout_weight="1" />
71
72        <include
73            layout="@layout/pass_fail_buttons"
74            android:layout_width="match_parent"
75            android:layout_height="wrap_content" />
76    </LinearLayout>
77</ScrollView>