1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 ownCloud Android client application
5 Copyright (C)
2012 Bartek Przybylski
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.
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.
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
/>.
19 <RelativeLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
20 android:
layout_width=
"fill_parent"
21 android:
layout_height=
"fill_parent"
22 android:
background=
"@color/owncloud_white" >
25 android:
id=
"@+id/fdScrollView"
26 android:
layout_width=
"fill_parent"
27 android:
layout_height=
"fill_parent" >
30 android:
layout_width=
"match_parent"
31 android:
layout_height=
"wrap_content" >
34 android:
id=
"@+id/fdFileHeaderContainer"
35 android:
layout_width=
"match_parent"
36 android:
layout_height=
"wrap_content"
37 android:
layout_marginLeft=
"16dp"
38 android:
layout_marginTop=
"4dp" >
41 android:
id=
"@+id/fdIcon"
42 android:
layout_width=
"wrap_content"
43 android:
layout_height=
"wrap_content"
44 android:
src=
"@drawable/file" />
47 android:
id=
"@+id/fdFilename"
48 android:
layout_width=
"wrap_content"
49 android:
layout_height=
"wrap_content"
50 android:
layout_centerVertical=
"true"
51 android:
layout_toRightOf=
"@+id/fdIcon"
52 android:
text=
"file.name"
53 android:
textAppearance=
"?android:attr/textAppearanceLarge" />
57 android:
id=
"@+id/fdDetailsContainer"
58 android:
layout_width=
"match_parent"
59 android:
layout_height=
"wrap_content"
60 android:
layout_below=
"@+id/fdFileHeaderContainer" >
63 android:
id=
"@+id/fdLabelContainer"
64 android:
layout_width=
"wrap_content"
65 android:
layout_height=
"wrap_content"
66 android:
layout_marginLeft=
"16dp" >
69 android:
id=
"@+id/fdTypeLabel"
70 android:
layout_width=
"wrap_content"
71 android:
layout_height=
"wrap_content"
72 android:
layout_marginTop=
"24dp"
73 android:
text=
"@string/filedetails_type"
74 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
77 android:
id=
"@+id/fdSizeLabel"
78 android:
layout_width=
"wrap_content"
79 android:
layout_height=
"wrap_content"
80 android:
layout_below=
"@+id/fdTypeLabel"
81 android:
layout_marginTop=
"12dp"
82 android:
text=
"@string/filedetails_size"
83 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
86 android:
id=
"@+id/fdCreatedLabel"
87 android:
layout_width=
"wrap_content"
88 android:
layout_height=
"wrap_content"
89 android:
layout_below=
"@+id/fdSizeLabel"
90 android:
layout_marginTop=
"12dp"
91 android:
text=
"@string/filedetails_created"
92 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
96 android:
id=
"@+id/fdValueContainer"
97 android:
layout_width=
"wrap_content"
98 android:
layout_height=
"wrap_content"
99 android:
layout_centerHorizontal=
"true"
100 android:
layout_marginLeft=
"4dp" >
103 android:
id=
"@+id/fdType"
104 android:
layout_width=
"wrap_content"
105 android:
layout_height=
"wrap_content"
106 android:
layout_marginTop=
"24dp"
107 android:
text=
"JPG Image"
108 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
111 android:
id=
"@+id/fdSize"
112 android:
layout_width=
"wrap_content"
113 android:
layout_height=
"wrap_content"
114 android:
layout_below=
"@+id/fdType"
115 android:
layout_marginTop=
"12dp"
116 android:
text=
"389 KB"
117 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
120 android:
id=
"@+id/fdCreated"
121 android:
layout_width=
"wrap_content"
122 android:
layout_height=
"wrap_content"
123 android:
layout_below=
"@+id/fdSize"
124 android:
layout_marginTop=
"12dp"
125 android:
text=
"2012/05/18 12:23 PM"
126 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
129 android:
id=
"@+id/fdModified"
130 android:
layout_width=
"wrap_content"
131 android:
layout_height=
"wrap_content"
132 android:
layout_below=
"@+id/fdCreated"
133 android:
layout_marginTop=
"12dp"
134 android:
text=
"2012/05/19 02:56 PM"
135 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
140 android:
id=
"@+id/fdPreviewAndDL"
141 android:
layout_width=
"match_parent"
142 android:
layout_height=
"wrap_content"
143 android:
layout_below=
"@+id/fdDetailsContainer" >
146 android:
id=
"@+id/fdPreview"
147 android:
layout_width=
"wrap_content"
148 android:
layout_height=
"wrap_content"
149 android:
layout_centerHorizontal=
"true"
150 android:
layout_marginTop=
"16dp"
151 android:
src=
"@drawable/owncloud_logo" />
154 android:
id=
"@+id/fdDownloadBtn"
155 android:
layout_width=
"wrap_content"
156 android:
layout_height=
"wrap_content"
157 android:
layout_centerHorizontal=
"true"
158 android:
layout_below=
"@+id/fdPreview"
159 android:
layout_marginTop=
"12dp"
160 android:
text=
"@string/filedetails_download" />