• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2021 The Android Open Source Project
2
3     Licensed under the Apache License, Version 2.0 (the "License");
4     you may not use this file except in compliance with the License.
5     You may obtain a copy of the License at
6
7          http://www.apache.org/licenses/LICENSE-2.0
8
9     Unless required by applicable law or agreed to in writing, software
10     distributed under the License is distributed on an "AS IS" BASIS,
11     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12     See the License for the specific language governing permissions and
13     limitations under the License.
14-->
15<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
16    android:layout_width="match_parent"
17    android:layout_height="match_parent">
18
19    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
20        android:layout_width="match_parent"
21        android:layout_height="match_parent">
22
23        <LinearLayout
24            android:id="@+id/linear_layout"
25            android:layout_width="match_parent"
26            android:layout_height="match_parent"
27            android:layout_alignParentStart="true"
28            android:layout_alignParentTop="true"
29            android:divider="@android:color/white"
30            android:orientation="vertical"
31            android:showDividers="middle">
32
33            <LinearLayout
34                android:layout_width="wrap_content"
35                android:layout_height="wrap_content"
36                android:gravity="center_vertical"
37                android:orientation="horizontal">
38
39                <Button
40                    android:id="@+id/set_complexity_high_btn"
41                    android:layout_width="wrap_content"
42                    android:layout_height="wrap_content"
43                    android:text="@string/set_complexity_high_txt" />
44
45                <TextView
46                    android:id="@+id/set_complexity_high_desc"
47                    android:layout_width="wrap_content"
48                    android:layout_height="wrap_content"
49                    android:ellipsize="none"
50                    android:text="@string/set_complexity_high_desc" />
51            </LinearLayout>
52
53            <LinearLayout
54                android:layout_width="wrap_content"
55                android:layout_height="wrap_content"
56                android:gravity="center_vertical"
57                android:orientation="horizontal">
58
59                <Button
60                    android:id="@+id/set_complexity_medium_btn"
61                    android:layout_width="wrap_content"
62                    android:layout_height="wrap_content"
63                    android:text="@string/set_complexity_medium_txt" />
64
65                <TextView
66                    android:layout_width="wrap_content"
67                    android:layout_height="wrap_content"
68                    android:ellipsize="none"
69                    android:text="@string/set_complexity_medium_desc" />
70            </LinearLayout>
71
72            <LinearLayout
73                android:layout_width="wrap_content"
74                android:layout_height="wrap_content"
75                android:gravity="center_vertical"
76                android:orientation="horizontal">
77
78                <Button
79                    android:id="@+id/set_complexity_low_btn"
80                    android:layout_width="wrap_content"
81                    android:layout_height="wrap_content"
82                    android:text="@string/set_complexity_low_txt" />
83
84                <TextView
85                    android:layout_width="wrap_content"
86                    android:layout_height="wrap_content"
87                    android:ellipsize="none"
88                    android:text="@string/set_complexity_low_desc" />
89            </LinearLayout>
90
91            <LinearLayout
92                android:layout_width="wrap_content"
93                android:layout_height="wrap_content"
94                android:gravity="center_vertical"
95                android:orientation="horizontal">
96
97                <Button
98                    android:id="@+id/set_complexity_none_btn"
99                    android:layout_width="wrap_content"
100                    android:layout_height="wrap_content"
101                    android:text="@string/set_complexity_none_txt" />
102
103                <TextView
104                    android:layout_width="wrap_content"
105                    android:layout_height="wrap_content"
106                    android:ellipsize="none"
107                    android:text="@string/set_complexity_none_desc" />
108            </LinearLayout>
109
110        </LinearLayout>
111
112        <include
113            layout="@layout/pass_fail_buttons"
114            android:layout_width="match_parent"
115            android:layout_height="wrap_content"
116            android:layout_below="@+id/linear_layout" />
117    </RelativeLayout>
118</ScrollView>