1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 ownCloud Android client application
5 Copyright (C)
2015 ownCloud Inc.
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License version
2,
8 as published by the Free Software Foundation.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see
<http://www.gnu.org/licenses
/>.
18 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
19 android:
id=
"@+id/fileDownloadLL"
20 android:
layout_width=
"match_parent"
21 android:
layout_height=
"match_parent"
22 android:
orientation=
"vertical"
23 android:
layout_gravity=
"center"
24 android:
gravity=
"center_vertical"
25 android:
padding=
"20dp"
26 android:
background=
"@color/black"
30 android:
id=
"@+id/progressText"
31 android:
layout_width=
"match_parent"
32 android:
layout_height=
"wrap_content"
33 android:
textColor=
"@color/dark_background_text_color"
34 android:
text=
"@string/downloader_not_downloaded_yet"
35 android:
layout_marginBottom=
"15dp"
39 android:
id=
"@+id/fdProgressBlock"
40 android:
layout_width=
"match_parent"
41 android:
layout_height=
"wrap_content"
42 android:
gravity=
"center"
43 android:
layout_marginTop=
"12dp"
44 android:
layout_marginBottom=
"15dp"
45 android:
orientation=
"horizontal"
48 <ProgressBar android:
id=
"@+id/progressBar"
49 android:
layout_width=
"0dp"
50 android:
layout_height=
"wrap_content"
51 android:
layout_weight=
"1"
52 style=
"?android:attr/progressBarStyleHorizontal"
53 android:
indeterminate=
"false"
54 android:
indeterminateOnly=
"false"
59 android:
id=
"@+id/cancelBtn"
60 android:
layout_width=
"wrap_content"
61 android:
layout_height=
"wrap_content"
62 android:
layout_marginLeft=
"12dp"
63 android:
src=
"@drawable/ic_cancel"
64 android:
background=
"@android:color/transparent"
70 android:
id=
"@+id/error_image"
71 android:
layout_width=
"wrap_content"
72 android:
layout_height=
"wrap_content"
73 android:
layout_margin=
"0dp"
74 android:
layout_gravity=
"center_horizontal"
75 android:
contentDescription=
"@string/downloader_download_failed_ticker"
76 android:
src=
"@drawable/image_fail" />
79 android:
id=
"@+id/errorText"
80 android:
layout_width=
"wrap_content"
81 android:
layout_height=
"wrap_content"
82 android:
layout_gravity=
"center_horizontal"
83 android:
layout_margin=
"40dp"
84 android:
textColor=
"@color/dark_background_text_color"
85 android:
text=
"@string/downloader_download_failed_ticker"