• 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_medium_btn"
41                    android:layout_width="wrap_content"
42                    android:layout_height="wrap_content"
43                    android:text="@string/set_complexity_medium_txt" />
44
45                <TextView
46                    android:layout_width="wrap_content"
47                    android:layout_height="wrap_content"
48                    android:ellipsize="none"
49                    android:text="@string/set_complexity_medium_desc" />
50            </LinearLayout>
51
52            <LinearLayout
53                android:layout_width="wrap_content"
54                android:layout_height="wrap_content"
55                android:gravity="center_vertical"
56                android:orientation="horizontal">
57
58                <Button
59                    android:id="@+id/set_complexity_low_btn"
60                    android:layout_width="wrap_content"
61                    android:layout_height="wrap_content"
62                    android:text="@string/set_complexity_low_txt" />
63
64                <TextView
65                    android:layout_width="wrap_content"
66                    android:layout_height="wrap_content"
67                    android:ellipsize="none"
68                    android:text="@string/set_complexity_low_desc" />
69            </LinearLayout>
70
71            <LinearLayout
72                android:layout_width="wrap_content"
73                android:layout_height="wrap_content"
74                android:gravity="center_vertical"
75                android:orientation="horizontal">
76
77                <Button
78                    android:id="@+id/set_complexity_none_btn"
79                    android:layout_width="wrap_content"
80                    android:layout_height="wrap_content"
81                    android:text="@string/set_complexity_none_txt" />
82
83                <TextView
84                    android:layout_width="wrap_content"
85                    android:layout_height="wrap_content"
86                    android:ellipsize="none"
87                    android:text="@string/set_complexity_none_desc" />
88            </LinearLayout>
89
90        </LinearLayout>
91
92        <include
93            layout="@layout/pass_fail_buttons"
94            android:layout_width="match_parent"
95            android:layout_height="wrap_content"
96            android:layout_below="@+id/linear_layout" />
97    </RelativeLayout>
98</ScrollView>