1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 ownCloud Android client application
4 Copyright (C)
2015 ownCloud Inc.
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License version
2,
8 as published by the Free Software Foundation.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see
<http://www.gnu.org/licenses
/>.
19 <com.owncloud.android.ui.SquareLinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
20 android:
id=
"@+id/ListItemLayout"
21 android:
layout_width=
"match_parent"
22 android:
layout_height=
"match_parent"
23 android:
layout_gravity=
"center_horizontal"
24 android:
background=
"@drawable/list_selector"
25 android:
gravity=
"center"
26 android:
orientation=
"vertical" >
29 android:
layout_width=
"match_parent"
30 android:
layout_height=
"wrap_content"
31 android:
layout_gravity=
"center_horizontal" >
34 android:
id=
"@+id/thumbnail"
35 android:
layout_width=
"72dp"
36 android:
layout_height=
"72dp"
37 android:
layout_gravity=
"center_horizontal"
38 android:
layout_marginLeft=
"10dp"
39 android:
layout_marginRight=
"10dp"
40 android:
src=
"@drawable/ic_menu_archive" />
43 android:
id=
"@+id/sharedIcon"
44 android:
layout_width=
"wrap_content"
45 android:
layout_height=
"wrap_content"
46 android:
layout_margin=
"4dp"
47 android:
layout_gravity=
"top|right"
48 android:
src=
"@drawable/shared_via_link" />
51 android:
id=
"@+id/localFileIndicator"
52 android:
layout_width=
"@dimen/file_icon_size"
53 android:
layout_height=
"@dimen/file_icon_size"
54 android:
layout_gravity=
"bottom|right"
55 android:
layout_marginTop=
"2dp"
56 android:
layout_marginRight=
"2dp"
57 android:
src=
"@drawable/local_file_indicator" />
60 android:
id=
"@+id/favoriteIcon"
61 android:
layout_width=
"15dp"
62 android:
layout_height=
"15dp"
63 android:
layout_gravity=
"bottom|right"
64 android:
layout_marginBottom=
"2dp"
65 android:
layout_marginRight=
"2dp"
66 android:
src=
"@drawable/ic_favorite" />
73 android:
id=
"@+id/Filename"
74 android:
layout_width=
"match_parent"
75 android:
layout_height=
"wrap_content"
76 android:
layout_marginLeft=
"4dp"
77 android:
layout_marginRight=
"4dp"
78 android:
ellipsize=
"middle"
79 android:
gravity=
"center_horizontal"
80 android:
singleLine=
"true"
81 android:
text=
"TextView"
82 android:
textColor=
"@color/textColor"
83 android:
textSize=
"16dip" />
85 </com.owncloud.android.ui.SquareLinearLayout
>