blob: 8bbc8065a89afba3745278ca2ccbb8ab3fdc6d17 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2017 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scrolling_container"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/progress_window"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<android.support.v7.widget.RecyclerView
android:id="@+id/downloaded_images"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scrollbars="horizontal"
android:horizontalSpacing="10dp"
android:gravity="center"/>
<GridLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:columnCount="2"
android:orientation="vertical" >
<Button
android:id="@+id/bind_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="0"
android:layout_column="0"
android:text="@string/bind_button" />
<Button
android:id="@+id/set_temp_root_button_internal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="0"
android:layout_column="1"
android:text="@string/set_temp_root_button_internal" />
<Button
android:id="@+id/set_temp_root_button_external"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="1"
android:layout_column="0"
android:text="@string/set_temp_root_button_external" />
<Button
android:id="@+id/get_file_services_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="1"
android:layout_column="1"
android:text="@string/get_file_services_button" />
<Button
android:id="@+id/request_dl_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="2"
android:layout_column="0"
android:text="@string/request_dl_button" />
<Button
android:id="@+id/request_cleanup_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="2"
android:layout_column="1"
android:text="@string/request_cleanup_button" />
<Button
android:id="@+id/request_spurious_temp_files_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="3"
android:layout_column="0"
android:text="@string/request_spurious_temp_files_button" />
<Button
android:id="@+id/delay_download_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="4"
android:layout_column="0"
android:text="@string/delay_download_button" />
<EditText
android:id="@+id/delay_factor"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="number"
android:layout_row="4"
android:layout_column="1"/>
<Button
android:id="@+id/cancel_download_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="5"
android:layout_column="0"
android:text="@string/cancel_download_button" />
<Button
android:id="@+id/register_all_callback_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="5"
android:layout_column="1"
android:text="@string/register_all_callback_button" />
<Button
android:id="@+id/register_state_callback_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="6"
android:layout_column="0"
android:text="@string/register_state_callback_button" />
<Button
android:id="@+id/register_progress_callback_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_row="6"
android:layout_column="1"
android:text="@string/register_progress_callback_button" />
<Spinner
android:id="@+id/active_downloads"
android:layout_row="8"
android:layout_column="1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</GridLayout>
<Spinner
android:id="@+id/available_file_services"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
</ScrollView>