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 <LinearLayout 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_horizontal"
26 android:
orientation=
"vertical" >
29 android:
layout_width=
"match_parent"
30 android:
layout_height=
"wrap_content" >
32 <com.owncloud.android.ui.SquareImageView
33 android:
id=
"@+id/thumbnail"
34 android:
layout_width=
"match_parent"
35 android:
layout_height=
"match_parent"
36 android:
paddingLeft=
"10dp"
37 android:
paddingRight=
"10dp"
38 android:
scaleType=
"centerCrop"
39 android:
src=
"@drawable/ic_menu_archive"/>
42 android:
layout_width=
"wrap_content"
43 android:
layout_height=
"wrap_content"
44 android:
layout_gravity=
"top|right"
45 android:
orientation=
"vertical"
46 android:
layout_margin=
"4dp">
49 android:
id=
"@+id/sharedIcon"
50 android:
layout_width=
"wrap_content"
51 android:
layout_height=
"wrap_content"
52 android:
layout_gravity=
"center"
53 android:
layout_marginBottom=
"4dp"
54 android:
src=
"@drawable/sharedlink" />
57 android:
id=
"@+id/sharedWithMeIcon"
58 android:
layout_width=
"wrap_content"
59 android:
layout_height=
"wrap_content"
60 android:
layout_gravity=
"center"
61 android:
layout_marginTop=
"4dp"
62 android:
src=
"@drawable/shared_with_me"
63 android:
visibility=
"invisible" />
67 android:
id=
"@+id/localFileIndicator"
68 android:
layout_width=
"@dimen/file_icon_size"
69 android:
layout_height=
"@dimen/file_icon_size"
70 android:
layout_gravity=
"bottom|right"
71 android:
layout_marginTop=
"4dp"
72 android:
layout_marginBottom=
"4dp"
73 android:
layout_marginRight=
"4dp"
74 android:
src=
"@drawable/local_file_indicator" />
77 android:
id=
"@+id/favoriteIcon"
78 android:
layout_width=
"15dp"
79 android:
layout_height=
"15dp"
80 android:
layout_gravity=
"bottom|right"
81 android:
layout_marginBottom=
"4dp"
82 android:
layout_marginRight=
"4dp"
83 android:
src=
"@drawable/ic_favorite" />