2013-02-25 18:19:18 +04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
ownCloud Android client application
|
|
|
|
|
2015-03-05 15:27:45 +03:00
|
|
|
Copyright (C) 2015 ownCloud Inc.
|
2013-02-25 18:19:18 +04:00
|
|
|
This program is free software: you can redistribute it and/or modify
|
2013-04-17 14:26:13 +04:00
|
|
|
it under the terms of the GNU General Public License version 2,
|
|
|
|
as published by the Free Software Foundation.
|
2013-02-25 18:19:18 +04:00
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-09-18 11:36:35 +04:00
|
|
|
android:id="@+id/fileDownloadLL"
|
2013-02-25 18:19:18 +04:00
|
|
|
android:layout_width="match_parent"
|
2013-02-26 17:01:32 +04:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical"
|
2016-10-07 03:41:34 +03:00
|
|
|
android:padding="@dimen/file_download_fragment_layout_padding"
|
2015-08-04 18:06:27 +03:00
|
|
|
android:background="@color/black"
|
2013-02-26 17:01:32 +04:00
|
|
|
>
|
2013-02-25 18:19:18 +04:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/progressText"
|
|
|
|
android:layout_width="match_parent"
|
2015-07-27 02:00:51 +03:00
|
|
|
android:layout_height="wrap_content"
|
2015-08-04 18:06:27 +03:00
|
|
|
android:textColor="@color/dark_background_text_color"
|
2013-02-25 18:19:18 +04:00
|
|
|
android:text="@string/downloader_not_downloaded_yet"
|
2016-10-07 03:41:34 +03:00
|
|
|
android:layout_marginBottom="@dimen/alternate_fragment_margin"
|
2013-02-25 18:19:18 +04:00
|
|
|
/>
|
|
|
|
|
2013-06-05 13:08:33 +04:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/fdProgressBlock"
|
|
|
|
android:layout_width="match_parent"
|
2013-02-25 18:19:18 +04:00
|
|
|
android:layout_height="wrap_content"
|
2013-06-05 13:08:33 +04:00
|
|
|
android:gravity="center"
|
2016-10-07 03:41:34 +03:00
|
|
|
android:layout_marginTop="@dimen/fragment_margin"
|
|
|
|
android:layout_marginBottom="@dimen/alternate_fragment_margin"
|
2013-06-05 13:08:33 +04:00
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
|
|
|
|
<ProgressBar android:id="@+id/progressBar"
|
2016-10-07 03:41:34 +03:00
|
|
|
android:layout_width="@dimen/zero"
|
2013-06-05 13:08:33 +04:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2015-07-26 03:54:03 +03:00
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
android:indeterminate="false"
|
|
|
|
android:indeterminateOnly="false"
|
|
|
|
|
|
|
|
/>
|
2013-06-05 13:08:33 +04:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/cancelBtn"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-07 03:41:34 +03:00
|
|
|
android:layout_marginLeft="@dimen/fragment_margin"
|
2016-07-11 15:44:55 +03:00
|
|
|
android:src="@drawable/ic_action_cancel_grey"
|
2013-06-05 13:08:33 +04:00
|
|
|
android:background="@android:color/transparent"
|
|
|
|
/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2013-03-01 17:20:25 +04:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/error_image"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-07 03:41:34 +03:00
|
|
|
android:layout_margin="@dimen/zero"
|
2013-03-01 17:20:25 +04:00
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:contentDescription="@string/downloader_download_failed_ticker"
|
|
|
|
android:src="@drawable/image_fail" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/errorText"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2016-10-07 03:41:34 +03:00
|
|
|
android:layout_margin="@dimen/file_download_fragment_display_text_margin"
|
2015-08-04 18:06:27 +03:00
|
|
|
android:textColor="@color/dark_background_text_color"
|
2013-03-01 17:20:25 +04:00
|
|
|
android:text="@string/downloader_download_failed_ticker"
|
2013-02-25 18:19:18 +04:00
|
|
|
/>
|
2013-03-01 17:20:25 +04:00
|
|
|
|
2013-02-25 18:19:18 +04:00
|
|
|
</LinearLayout>
|
|
|
|
|