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:
id=
"@+id/ListItemLayout"
21 android:
layout_width=
"fill_parent"
22 android:
background=
"@drawable/list_selector"
23 android:
orientation=
"horizontal"
24 android:
layout_height=
"56dp">
27 android:
layout_width=
"wrap_content"
28 android:
layout_height=
"56dp"
29 android:
focusable=
"false"
30 android:
focusableInTouchMode=
"false">
33 android:
id=
"@+id/imageView2"
34 android:
layout_width=
"wrap_content"
35 android:
layout_height=
"wrap_content"
36 android:
src=
"@drawable/local_file_indicator"/>
39 android:
id=
"@+id/imageView4"
40 android:
layout_width=
"wrap_content"
41 android:
layout_height=
"wrap_content"
42 android:
src=
"@drawable/downloading_file_indicator"/
>
45 android:
id=
"@+id/imageView5"
46 android:
layout_width=
"wrap_content"
47 android:
layout_height=
"wrap_content"
48 android:
src=
"@drawable/uploading_file_indicator"/ --
>
51 android:
id=
"@+id/imageView1"
52 android:
layout_width=
"20dp"
53 android:
layout_height=
"20dp"
54 android:
layout_gravity=
"center_vertical|center"
55 android:
layout_margin=
"4dp"
56 android:
src=
"@drawable/ic_menu_archive" />
59 android:
id=
"@+id/imageView3"
60 android:
layout_width=
"wrap_content"
61 android:
layout_height=
"wrap_content"
62 android:
layout_gravity=
"bottom"
63 android:
layout_weight=
".1"
64 android:
maxHeight=
"15dip"
65 android:
src=
"@drawable/ic_favorite" />
70 android:
layout_width=
"match_parent"
71 android:
layout_height=
"match_parent"
72 android:
orientation=
"vertical"
73 android:
gravity=
"center_vertical">
76 android:
id=
"@+id/Filename"
77 android:
layout_width=
"wrap_content"
78 android:
layout_height=
"wrap_content"
79 android:
layout_gravity=
"center_vertical"
80 android:
layout_marginLeft=
"4dp"
81 android:
layout_marginRight=
"4dp"
82 android:
ellipsize=
"middle"
83 android:
singleLine=
"true"
84 android:
text=
"TextView"
85 android:
textColor=
"#303030"
86 android:
textSize=
"16dip" />
89 android:
layout_width=
"match_parent"
90 android:
layout_height=
"wrap_content"
91 android:
layout_marginLeft=
"4dp"
92 android:
layout_marginRight=
"4dp"
93 android:
weightSum=
"1">
96 android:
id=
"@+id/last_mod"
97 android:
layout_width=
"wrap_content"
98 android:
layout_height=
"wrap_content"
99 android:
text=
"TextView"
100 android:
layout_weight=
".5"
101 android:
textSize=
"12dip"/>
104 android:
id=
"@+id/file_size"
105 android:
layout_width=
"wrap_content"
106 android:
layout_height=
"wrap_content"
107 android:
gravity=
"right"
108 android:
text=
"TextView"
109 android:
layout_weight=
".5"
110 android:
textSize=
"12dip"/>