1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 ownCloud Android client application
5 Copyright (C)
2012 Bartek Przybylski
6 Copyright (C)
2015 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=
"match_parent"
23 android:
background=
"@drawable/list_selector"
24 android:
orientation=
"vertical"
25 android:
layout_height=
"72dp">
28 android:
layout_width=
"match_parent"
29 android:
layout_height=
"match_parent"
30 android:
orientation=
"horizontal">
33 android:
layout_width=
"64dp"
34 android:
layout_height=
"72dp"
35 android:
paddingLeft=
"@dimen/standard_padding"
36 android:
paddingBottom=
"@dimen/standard_padding"
37 android:
paddingTop=
"@dimen/standard_padding"
38 android:
paddingRight=
"8dp"
39 android:
focusable=
"false"
40 android:
focusableInTouchMode=
"false">
43 android:
id=
"@+id/localFileIndicator"
44 android:
layout_width=
"@dimen/file_icon_size"
45 android:
layout_height=
"@dimen/file_icon_size"
46 android:
layout_gravity=
"top|right"
47 android:
layout_marginLeft=
"21dp"
48 android:
src=
"@drawable/local_file_indicator" />
51 android:
id=
"@+id/thumbnail"
52 android:
layout_width=
"@dimen/file_icon_size"
53 android:
layout_height=
"@dimen/file_icon_size"
54 android:
layout_gravity=
"left|center_vertical"
55 android:
src=
"@drawable/ic_menu_archive" />
58 android:
id=
"@+id/favoriteIcon"
59 android:
layout_width=
"wrap_content"
60 android:
layout_height=
"wrap_content"
61 android:
layout_gravity=
"bottom|right"
62 android:
layout_marginRight=
"2dp"
63 android:
src=
"@drawable/ic_favorite" />
67 android:
layout_width=
"0dp"
68 android:
layout_height=
"match_parent"
69 android:
layout_weight=
"1"
71 android:
paddingTop=
"@dimen/standard_padding"
72 android:
orientation=
"vertical" >
75 android:
id=
"@+id/Filename"
76 android:
layout_width=
"wrap_content"
77 android:
layout_height=
"wrap_content"
78 android:
layout_gravity=
"center_vertical"
79 android:
layout_marginLeft=
"0dp"
80 android:
layout_marginRight=
"4dp"
81 android:
ellipsize=
"middle"
82 android:
singleLine=
"true"
83 android:
text=
"TextView"
84 android:
textColor=
"#303030"
85 android:
textSize=
"@dimen/two_line_primary_text_size" />
88 android:
layout_width=
"match_parent"
89 android:
layout_height=
"wrap_content"
90 android:
layout_marginLeft=
"0dp"
91 android:
layout_marginRight=
"4dp"
92 android:
weightSum=
"1">
95 android:
id=
"@+id/last_mod"
96 android:
layout_width=
"wrap_content"
97 android:
layout_height=
"wrap_content"
98 android:
text=
"TextView"
99 android:
layout_weight=
".5"
100 android:
textColor=
"@color/list_item_lastmod_and_filesize_text"
101 android:
textSize=
"@dimen/two_line_secondary_text_size"/>
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:
textColor=
"@color/list_item_lastmod_and_filesize_text"
110 android:
layout_weight=
".5"
111 android:
textSize=
"@dimen/two_line_secondary_text_size"/>
118 android:
layout_width=
"25dp"
119 android:
layout_height=
"match_parent"
120 android:
gravity=
"center_vertical"
121 android:
orientation=
"vertical">
124 android:
id=
"@+id/sharedIcon"
125 android:
layout_width=
"wrap_content"
126 android:
layout_height=
"wrap_content"
127 android:
layout_gravity=
"center"
128 android:
layout_marginLeft=
"4dp"
129 android:
layout_marginBottom=
"4dp"
130 android:
layout_marginRight=
"4dp"
131 android:
src=
"@drawable/sharedlink" />
134 android:
id=
"@+id/sharedWithMeIcon"
135 android:
layout_width=
"wrap_content"
136 android:
layout_height=
"wrap_content"
137 android:
layout_gravity=
"center"
138 android:
layout_marginLeft=
"4dp"
139 android:
layout_marginRight=
"4dp"
140 android:
layout_marginTop=
"4dp"
141 android:
src=
"@drawable/shared_with_me"
142 android:
visibility=
"invisible" />
147 android:
id=
"@+id/custom_checkbox"
148 android:
layout_width=
"wrap_content"
149 android:
layout_height=
"wrap_content"
150 android:
layout_gravity=
"center_vertical"
151 android:
layout_marginLeft=
"4dp"
152 android:
layout_marginRight=
"@dimen/standard_margin"
154 android:
src=
"@drawable/ic_checkbox_blank_outline" />
158 android:
layout_width=
"match_parent"
159 android:
layout_height=
"1dp"
160 android:
background=
"@color/list_divider_background"></View>