• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        <android.support.v7.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"
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" />
60            <Button
61                android:id="@+id/get_file_services_button"
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/get_file_services_button" />
67            <Button
68                android:id="@+id/request_dl_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/request_dl_button" />
74            <Button
75                android:id="@+id/request_cleanup_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_cleanup_button" />
81            <Button
82                android:id="@+id/request_spurious_temp_files_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_spurious_temp_files_button" />
88            <Button
89                android:id="@+id/delay_download_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/delay_download_button" />
95            <NumberPicker
96                android:id="@+id/delay_factor"
97                android:layout_width="wrap_content"
98                android:layout_height="wrap_content"
99                android:layout_row="3"
100                android:layout_column="1"/>
101            <Button
102                android:id="@+id/cancel_download_button"
103                android:layout_width="wrap_content"
104                android:layout_height="wrap_content"
105                android:layout_row="4"
106                android:layout_column="0"
107                android:text="@string/cancel_download_button" />
108            <Button
109                android:id="@+id/register_state_callback_button"
110                android:layout_width="wrap_content"
111                android:layout_height="wrap_content"
112                android:layout_row="5"
113                android:layout_column="0"
114                android:text="@string/register_state_callback_button" />
115            <Button
116                android:id="@+id/register_progress_callback_button"
117                android:layout_width="wrap_content"
118                android:layout_height="wrap_content"
119                android:layout_row="5"
120                android:layout_column="1"
121                android:text="@string/register_progress_callback_button" />
122            <Button
123                android:id="@+id/register_all_callback_button"
124                android:layout_width="wrap_content"
125                android:layout_height="wrap_content"
126                android:layout_row="6"
127                android:layout_column="0"
128                android:text="@string/register_all_callback_button" />
129
130            <Spinner
131                android:id="@+id/active_downloads"
132                android:layout_row="7"
133                android:layout_column="1"
134                android:layout_width="wrap_content"
135                android:layout_height="wrap_content"/>
136        </GridLayout>
137
138        <Spinner
139            android:id="@+id/available_file_services"
140            android:layout_width="match_parent"
141            android:layout_height="wrap_content"/>
142    </LinearLayout>
143</ScrollView>