1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2017 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17
18<ScrollView
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:id="@+id/scrolling_container"
21    android:layout_width="match_parent"
22    android:layout_height="wrap_content">
23    <LinearLayout
24        xmlns:android="http://schemas.android.com/apk/res/android"
25        android:layout_width="match_parent"
26        android:layout_height="match_parent"
27        android:orientation="vertical" >
28
29        <TextView
30            android:id="@+id/progress_window"
31            android:layout_width="match_parent"
32            android:layout_height="wrap_content"/>
33        <androidx.recyclerview.widget.RecyclerView
34            android:id="@+id/downloaded_images"
35            android:layout_width="match_parent"
36            android:layout_height="wrap_content"
37            android:scrollbars="horizontal"
38            android:horizontalSpacing="10dp"
39            android:gravity="center"/>
40        <GridLayout
41            xmlns:android="http://schemas.android.com/apk/res/android"
42            android:layout_width="match_parent"
43            android:layout_height="wrap_content"
44            android:columnCount="2"
45            android:orientation="vertical" >
46            <Button
47                android:id="@+id/bind_button"
48                android:layout_width="wrap_content"
49                android:layout_height="wrap_content"
50                android:layout_row="0"
51                android:layout_column="0"
52                android:text="@string/bind_button" />
53            <Button
54                android:id="@+id/set_temp_root_button_internal"
55                android:layout_width="wrap_content"
56                android:layout_height="wrap_content"
57                android:layout_row="0"
58                android:layout_column="1"
59                android:text="@string/set_temp_root_button_internal" />
60            <Button
61                android:id="@+id/set_temp_root_button_external"
62                android:layout_width="wrap_content"
63                android:layout_height="wrap_content"
64                android:layout_row="1"
65                android:layout_column="0"
66                android:text="@string/set_temp_root_button_external" />
67            <Button
68                android:id="@+id/get_file_services_button"
69                android:layout_width="wrap_content"
70                android:layout_height="wrap_content"
71                android:layout_row="1"
72                android:layout_column="1"
73                android:text="@string/get_file_services_button" />
74            <Button
75                android:id="@+id/request_dl_button"
76                android:layout_width="wrap_content"
77                android:layout_height="wrap_content"
78                android:layout_row="2"
79                android:layout_column="0"
80                android:text="@string/request_dl_button" />
81            <Button
82                android:id="@+id/request_cleanup_button"
83                android:layout_width="wrap_content"
84                android:layout_height="wrap_content"
85                android:layout_row="2"
86                android:layout_column="1"
87                android:text="@string/request_cleanup_button" />
88            <Button
89                android:id="@+id/request_spurious_temp_files_button"
90                android:layout_width="wrap_content"
91                android:layout_height="wrap_content"
92                android:layout_row="3"
93                android:layout_column="0"
94                android:text="@string/request_spurious_temp_files_button" />
95            <Button
96                android:id="@+id/delay_download_button"
97                android:layout_width="wrap_content"
98                android:layout_height="wrap_content"
99                android:layout_row="4"
100                android:layout_column="0"
101                android:text="@string/delay_download_button" />
102            <EditText
103                android:id="@+id/delay_factor"
104                android:layout_width="wrap_content"
105                android:layout_height="wrap_content"
106                android:inputType="number"
107                android:layout_row="4"
108                android:layout_column="1"/>
109            <Button
110                android:id="@+id/cancel_download_button"
111                android:layout_width="wrap_content"
112                android:layout_height="wrap_content"
113                android:layout_row="5"
114                android:layout_column="0"
115                android:text="@string/cancel_download_button" />
116            <Button
117                android:id="@+id/register_all_callback_button"
118                android:layout_width="wrap_content"
119                android:layout_height="wrap_content"
120                android:layout_row="5"
121                android:layout_column="1"
122                android:text="@string/register_all_callback_button" />
123            <Button
124                android:id="@+id/register_state_callback_button"
125                android:layout_width="wrap_content"
126                android:layout_height="wrap_content"
127                android:layout_row="6"
128                android:layout_column="0"
129                android:text="@string/register_state_callback_button" />
130            <Button
131                android:id="@+id/register_progress_callback_button"
132                android:layout_width="wrap_content"
133                android:layout_height="wrap_content"
134                android:layout_row="6"
135                android:layout_column="1"
136                android:text="@string/register_progress_callback_button" />
137
138            <Spinner
139                android:id="@+id/active_downloads"
140                android:layout_row="8"
141                android:layout_column="1"
142                android:layout_width="wrap_content"
143                android:layout_height="wrap_content"/>
144        </GridLayout>
145
146        <Spinner
147            android:id="@+id/available_file_services"
148            android:layout_width="match_parent"
149            android:layout_height="wrap_content"/>
150    </LinearLayout>
151</ScrollView>