OC-2459: Ask for pincode, when click on an instant upload notification
[pub/Android/ownCloud.git] / res / layout / preview_image_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
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2,
9 as published by the Free Software Foundation.
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 -->
20
21 <!--
22 ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
23 android:id="@+id/fdScrollView"
24 android:layout_width="fill_parent"
25 android:layout_height="fill_parent"
26 android:background="@color/background_color"
27 android:gravity="center_horizontal"
28 -->
29
30 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
31 xmlns:tools="http://schemas.android.com/tools"
32 android:id="@+id/top"
33 android:layout_width="fill_parent"
34 android:layout_height="fill_parent"
35 android:background="@color/background_color"
36 tools:context=".ui.fragment.PreviewImageFragment" >
37
38 <ProgressBar
39 android:id="@+id/progressWheel"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:indeterminate="true"
43 android:indeterminateOnly="true"
44 android:layout_centerInParent="true"
45 />
46
47 <ImageView
48 android:id="@+id/image"
49 android:layout_width="wrap_content"
50 android:layout_height="wrap_content"
51 android:layout_margin="0dp"
52 android:layout_centerInParent="true"
53 android:contentDescription="@string/preview_image_description"
54 android:src="@drawable/image_fail" />
55
56 <TextView
57 android:id="@+id/message"
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"
60 android:layout_centerHorizontal="true"
61 android:layout_below="@id/image"
62 android:layout_margin="40dp"
63 android:text="@string/placeholder_sentence"
64 />
65
66 </RelativeLayout>