1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 ownCloud Android client application
5 Copyright (C)
2012 Bartek Przybylski
6 Copyright (C)
2012-
2013 ownCloud Inc.
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License version
2,
10 as published by the Free Software Foundation.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see
<http://www.gnu.org/licenses
/>.
20 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
21 android:
id=
"@+id/ListItemLayout"
22 android:
layout_width=
"fill_parent"
23 android:
background=
"@drawable/list_selector"
24 android:
orientation=
"horizontal"
25 android:
layout_height=
"56dp">
28 android:
layout_width=
"wrap_content"
29 android:
layout_height=
"56dp"
30 android:
focusable=
"false"
31 android:
focusableInTouchMode=
"false">
34 android:
id=
"@+id/imageView2"
35 android:
layout_width=
"wrap_content"
36 android:
layout_height=
"wrap_content"
37 android:
src=
"@drawable/local_file_indicator"/>
40 android:
id=
"@+id/imageView1"
41 android:
layout_width=
"20dp"
42 android:
layout_height=
"20dp"
43 android:
layout_gravity=
"center_vertical|center"
44 android:
layout_margin=
"4dp"
45 android:
src=
"@drawable/ic_menu_archive" />
48 android:
id=
"@+id/imageView3"
49 android:
layout_width=
"wrap_content"
50 android:
layout_height=
"wrap_content"
51 android:
layout_gravity=
"bottom"
52 android:
layout_weight=
".1"
53 android:
maxHeight=
"15dip"
54 android:
src=
"@drawable/ic_favorite" />
59 android:
layout_width=
"0dp"
60 android:
layout_height=
"match_parent"
61 android:
layout_weight=
"1"
62 android:
gravity=
"center_vertical"
63 android:
orientation=
"vertical" >
66 android:
id=
"@+id/Filename"
67 android:
layout_width=
"wrap_content"
68 android:
layout_height=
"wrap_content"
69 android:
layout_gravity=
"center_vertical"
70 android:
layout_marginLeft=
"4dp"
71 android:
layout_marginRight=
"4dp"
72 android:
ellipsize=
"middle"
73 android:
singleLine=
"true"
74 android:
text=
"TextView"
75 android:
textColor=
"#303030"
76 android:
textSize=
"16dip" />
79 android:
layout_width=
"match_parent"
80 android:
layout_height=
"wrap_content"
81 android:
layout_marginLeft=
"4dp"
82 android:
layout_marginRight=
"4dp"
83 android:
weightSum=
"1">
86 android:
id=
"@+id/last_mod"
87 android:
layout_width=
"wrap_content"
88 android:
layout_height=
"wrap_content"
89 android:
text=
"TextView"
90 android:
layout_weight=
".5"
91 android:
textSize=
"12dip"/>
94 android:
id=
"@+id/file_size"
95 android:
layout_width=
"wrap_content"
96 android:
layout_height=
"wrap_content"
97 android:
gravity=
"right"
98 android:
text=
"TextView"
99 android:
layout_weight=
".5"
100 android:
textSize=
"12dip"/>
107 android:
id=
"@+id/shareIcon"
108 android:
layout_width=
"wrap_content"
109 android:
layout_height=
"wrap_content"
110 android:
layout_gravity=
"center_vertical"
111 android:
layout_marginLeft=
"4dp"
112 android:
layout_marginRight=
"4dp"
113 android:
src=
"@drawable/sharedlink" />
116 android:
id=
"@+id/custom_checkbox"
117 android:
layout_width=
"wrap_content"
118 android:
layout_height=
"wrap_content"
119 android:
layout_gravity=
"center_vertical"
120 android:
layout_marginLeft=
"4dp"
121 android:
layout_marginRight=
"4dp"
123 android:
src=
"@android:drawable/checkbox_off_background" />