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 <ScrollView xmlns:
android=
"http://schemas.android.com/apk/res/android"
20 android:
id=
"@+id/fdScrollView"
21 android:
layout_width=
"fill_parent"
22 android:
layout_height=
"fill_parent" >
25 android:
layout_width=
"match_parent"
26 android:
layout_height=
"wrap_content" >
29 android:
id=
"@+id/fdFileHeaderContainer"
30 android:
layout_width=
"match_parent"
31 android:
layout_height=
"wrap_content"
32 android:
layout_marginLeft=
"16dp"
33 android:
layout_marginTop=
"4dp" >
36 android:
id=
"@+id/fdIcon"
37 android:
layout_width=
"wrap_content"
38 android:
layout_height=
"wrap_content"
39 android:
src=
"@drawable/file" />
42 android:
id=
"@+id/fdFilename"
43 android:
layout_width=
"wrap_content"
44 android:
layout_height=
"wrap_content"
45 android:
layout_centerVertical=
"true"
46 android:
layout_toRightOf=
"@+id/fdIcon"
47 android:
text=
"@string/placeholder_filename"
48 android:
textAppearance=
"?android:attr/textAppearanceLarge" />
53 android:
id=
"@+id/fdDetailsContainer"
54 android:
layout_width=
"match_parent"
55 android:
layout_height=
"wrap_content"
56 android:
layout_below=
"@id/fdFileHeaderContainer" >
59 android:
id=
"@+id/fdLabelContainer"
60 android:
layout_width=
"wrap_content"
61 android:
layout_height=
"wrap_content"
62 android:
layout_alignParentLeft=
"true"
63 android:
layout_alignParentTop=
"true"
64 android:
layout_marginLeft=
"16dp" >
67 android:
id=
"@+id/fdTypeLabel"
68 android:
layout_width=
"wrap_content"
69 android:
layout_height=
"wrap_content"
70 android:
layout_marginTop=
"24dp"
71 android:
text=
"@string/filedetails_type"
72 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
75 android:
id=
"@+id/fdSizeLabel"
76 android:
layout_width=
"wrap_content"
77 android:
layout_height=
"wrap_content"
78 android:
layout_below=
"@+id/fdTypeLabel"
79 android:
layout_marginTop=
"12dp"
80 android:
text=
"@string/filedetails_size"
81 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
84 android:
id=
"@+id/fdCreatedLabel"
85 android:
layout_width=
"wrap_content"
86 android:
layout_height=
"wrap_content"
87 android:
layout_below=
"@+id/fdSizeLabel"
88 android:
layout_marginTop=
"12dp"
89 android:
text=
"@string/filedetails_created"
90 android:
visibility=
"gone"
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_below=
"@+id/fdCreatedLabel"
98 android:
layout_marginTop=
"12dp"
99 android:
text=
"@string/filedetails_modified"
100 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
104 android:
id=
"@+id/fdValueContainer"
105 android:
layout_width=
"wrap_content"
106 android:
layout_height=
"wrap_content"
107 android:
layout_alignParentTop=
"true"
108 android:
layout_marginLeft=
"12dp"
109 android:
layout_toRightOf=
"@+id/fdLabelContainer" >
112 android:
id=
"@+id/fdType"
113 android:
layout_width=
"wrap_content"
114 android:
layout_height=
"wrap_content"
115 android:
layout_marginTop=
"24dp"
116 android:
text=
"@string/placeholder_filetype"
117 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
120 android:
id=
"@+id/fdSize"
121 android:
layout_width=
"wrap_content"
122 android:
layout_height=
"wrap_content"
123 android:
layout_below=
"@+id/fdType"
124 android:
layout_marginTop=
"12dp"
125 android:
text=
"@string/placeholder_filesize"
126 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
129 android:
id=
"@+id/fdCreated"
130 android:
layout_width=
"wrap_content"
131 android:
layout_height=
"wrap_content"
132 android:
layout_below=
"@+id/fdSize"
133 android:
layout_marginTop=
"12dp"
134 android:
visibility=
"gone"
135 android:
text=
"@string/placeholder_timestamp"
136 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
139 android:
id=
"@+id/fdModified"
140 android:
layout_width=
"wrap_content"
141 android:
layout_height=
"wrap_content"
142 android:
layout_below=
"@+id/fdCreated"
143 android:
layout_marginTop=
"12dp"
144 android:
text=
"@string/placeholder_timestamp"
145 android:
textAppearance=
"?android:attr/textAppearanceMedium" />
152 android:
id=
"@+id/fdProgressAndControl"
153 android:
layout_width=
"match_parent"
154 android:
layout_height=
"wrap_content"
155 android:
layout_below=
"@+id/fdDetailsContainer"
156 android:
gravity=
"center_horizontal"
157 android:
layout_margin=
"16dp"
161 android:
id=
"@+id/fdKeepInSync"
162 android:
layout_width=
"wrap_content"
163 android:
layout_height=
"wrap_content"
164 android:
layout_centerHorizontal=
"true"
165 android:
text=
"@string/fd_keep_in_sync" />
168 android:
layout_width=
"match_parent"
169 android:
layout_height=
"wrap_content"
170 android:
layout_below=
"@id/fdKeepInSync"
171 android:
orientation=
"vertical" >
174 android:
id=
"@+id/fdProgressText"
175 android:
layout_width=
"match_parent"
176 android:
layout_height=
"wrap_content"
177 android:
text=
"@string/downloader_download_in_progress_ticker"
180 <ProgressBar android:
id=
"@+id/fdProgressBar"
181 android:
layout_width=
"match_parent"
182 android:
layout_height=
"wrap_content"
183 android:
progressDrawable=
"@android:drawable/progress_horizontal"
184 android:
indeterminate=
"false"
185 android:
indeterminateOnly=
"false"
189 android:
layout_width=
"match_parent"
190 android:
layout_height=
"wrap_content"
191 android:
gravity=
"center_horizontal"
192 android:
layout_marginTop=
"12dp"
196 android:
id=
"@+id/fdDownloadBtn"
197 android:
layout_width=
"0dp"
198 android:
layout_height=
"wrap_content"
199 android:
layout_weight=
"1"
200 android:
text=
"@string/filedetails_download" />
203 android:
id=
"@+id/fdOpenBtn"
204 android:
layout_width=
"0dp"
205 android:
layout_height=
"wrap_content"
206 android:
layout_weight=
"1"
207 android:
text=
"@string/filedetails_open" />
212 android:
layout_width=
"match_parent"
213 android:
layout_height=
"wrap_content"
214 android:
gravity=
"center_horizontal"
215 android:
layout_marginTop=
"12dp"
219 android:
id=
"@+id/fdRenameBtn"
220 android:
layout_width=
"0dp"
221 android:
layout_height=
"wrap_content"
222 android:
layout_weight=
"1"
223 android:
text=
"@string/common_rename" />
226 android:
id=
"@+id/fdRemoveBtn"
227 android:
layout_width=
"0dp"
228 android:
layout_height=
"wrap_content"
229 android:
layout_weight=
"1"
230 android:
text=
"@string/common_remove" />