Merge pull request #152 from owncloud/oauth_login
[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 version 2,
8 as published by the Free Software Foundation.
9
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.
14
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/>.
17 -->
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
21 android:orientation="vertical"
22 android:layout_gravity="center"
23 android:gravity="center_vertical"
24 android:padding="20dp"
25 >
26
27 <TextView
28 android:id="@+id/progressText"
29 android:layout_width="match_parent"
30 android:layout_height="wrap_content"
31 android:text="@string/downloader_not_downloaded_yet"
32 android:layout_marginBottom="15dp"
33 />
34
35 <ProgressBar android:id="@+id/progressBar"
36 android:layout_width="match_parent"
37 android:layout_height="wrap_content"
38 android:progressDrawable="@android:drawable/progress_horizontal"
39 android:indeterminate="false"
40 android:indeterminateOnly="false"
41 android:layout_marginBottom="15dp"
42 />
43
44 <Button
45 android:id="@+id/cancelBtn"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:text="@string/common_cancel"
49 android:layout_marginBottom="15dp"
50 />
51
52 <ImageView
53 android:id="@+id/error_image"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_margin="0dp"
57 android:layout_gravity="center_horizontal"
58 android:contentDescription="@string/downloader_download_failed_ticker"
59 android:src="@drawable/image_fail" />
60
61 <TextView
62 android:id="@+id/errorText"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:layout_gravity="center_horizontal"
66 android:layout_margin="40dp"
67 android:text="@string/downloader_download_failed_ticker"
68 />
69
70 </LinearLayout>
71