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 <LinearLayout 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"
23 android:
orientation=
"vertical" >
26 android:
id=
"@+id/fdScrollView"
27 android:
layout_width=
"fill_parent"
28 android:
layout_height=
"fill_parent" >
31 android:
layout_width=
"match_parent"
32 android:
layout_height=
"wrap_content"
33 android:
orientation=
"vertical" >
36 android:
layout_width=
"fill_parent"
37 android:
layout_height=
"wrap_content"
38 android:
orientation=
"horizontal" >
41 android:
id=
"@+id/fdIcon"
42 android:
layout_width=
"wrap_content"
43 android:
layout_height=
"wrap_content"
44 android:
layout_marginLeft=
"16dp"
45 android:
layout_marginTop=
"4dp"
46 android:
src=
"@drawable/file" />
49 android:
id=
"@+id/fdFilename"
50 android:
layout_width=
"wrap_content"
51 android:
layout_height=
"wrap_content"
52 android:
layout_marginLeft=
"4dp"
53 android:
text=
"file.name"
54 android:
textAppearance=
"?android:attr/textAppearanceLarge" />
58 android:
layout_width=
"wrap_content"
59 android:
layout_height=
"match_parent"
60 android:
orientation=
"horizontal" >
63 android:
layout_width=
"match_parent"
64 android:
layout_height=
"wrap_content"
65 android:
layout_weight=
"1"
66 android:
orientation=
"vertical"
67 android:
paddingLeft=
"16dp" >
70 android:
id=
"@+id/fdTypeLabel"
71 android:
layout_width=
"wrap_content"
72 android:
layout_height=
"wrap_content"
73 android:
layout_marginTop=
"24dp"
74 android:
text=
"@string/filedetails_type"
75 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
78 android:
id=
"@+id/fdSizeLabel"
79 android:
layout_width=
"wrap_content"
80 android:
layout_height=
"wrap_content"
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_marginTop=
"12dp"
90 android:
text=
"@string/filedetails_created"
91 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
94 android:
id=
"@+id/fdModifiedLabel"
95 android:
layout_width=
"wrap_content"
96 android:
layout_height=
"wrap_content"
97 android:
layout_marginTop=
"12dp"
98 android:
text=
"@string/filedetails_modified"
99 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
103 android:
layout_width=
"match_parent"
104 android:
layout_height=
"wrap_content"
105 android:
layout_weight=
"2"
106 android:
orientation=
"vertical"
107 android:
paddingLeft=
"4dp" >
110 android:
id=
"@+id/fdType"
111 android:
layout_width=
"wrap_content"
112 android:
layout_height=
"wrap_content"
113 android:
layout_marginTop=
"24dp"
114 android:
text=
"JPG Image"
115 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
118 android:
id=
"@+id/fdSize"
119 android:
layout_width=
"wrap_content"
120 android:
layout_height=
"wrap_content"
121 android:
layout_marginTop=
"12dp"
122 android:
text=
"389 KB"
123 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
126 android:
id=
"@+id/fdCreated"
127 android:
layout_width=
"wrap_content"
128 android:
layout_height=
"wrap_content"
129 android:
layout_marginTop=
"12dp"
130 android:
text=
"2012/05/18 12:23 PM"
131 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
134 android:
id=
"@+id/fdModified"
135 android:
layout_width=
"wrap_content"
136 android:
layout_height=
"wrap_content"
137 android:
layout_marginTop=
"12dp"
138 android:
text=
"2012/05/19 02:56 PM"
139 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
144 android:
layout_width=
"match_parent"
145 android:
layout_height=
"match_parent"
146 android:
orientation=
"vertical" >
149 android:
id=
"@+id/fdPreview"
150 android:
layout_width=
"wrap_content"
151 android:
layout_height=
"wrap_content"
152 android:
layout_marginTop=
"16dp"
153 android:
layout_gravity=
"center_horizontal"
154 android:
src=
"@drawable/owncloud_logo" />
157 android:
id=
"@+id/fdDownloadBtn"
158 android:
layout_width=
"wrap_content"
159 android:
layout_height=
"wrap_content"
160 android:
layout_marginTop=
"12dp"
161 android:
layout_gravity=
"center_horizontal"
162 android:
text=
"@string/filedetails_download" />