[tx-robot] updated from transifex
[pub/Android/ownCloud.git] / res / layout / file_download_fragment.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2012-2013 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 as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
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 >
27
28 <TextView
29 android:id="@+id/progressText"
30 android:layout_width="match_parent"
31 android:layout_height="wrap_content"
32 android:text="@string/downloader_not_downloaded_yet"
33 android:layout_marginBottom="15dp"
34 />
35
36 <ProgressBar android:id="@+id/progressBar"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
39 android:progressDrawable="@android:drawable/progress_horizontal"
40 android:indeterminate="false"
41 android:indeterminateOnly="false"
42 android:layout_marginBottom="15dp"
43 />
44
45 <Button
46 android:id="@+id/cancelBtn"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:text="@string/common_cancel"
50 android:layout_marginBottom="15dp"
51 />
52
53 <ImageView
54 android:id="@+id/error_image"
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:layout_margin="0dp"
58 android:layout_gravity="center_horizontal"
59 android:contentDescription="@string/downloader_download_failed_ticker"
60 android:src="@drawable/image_fail" />
61
62 <TextView
63 android:id="@+id/errorText"
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:layout_gravity="center_horizontal"
67 android:layout_margin="40dp"
68 android:text="@string/downloader_download_failed_ticker"
69 />
70
71 </LinearLayout>
72