changed do 64x64 filetype icons
[pub/Android/ownCloud.git] / res / layout / grid_item.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 ownCloud Android client application
4
5 Copyright (C) 2012 Bartek Przybylski
6 Copyright (C) 2012-2013 ownCloud Inc.
7
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.
11
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.
16
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/>.
19
20 -->
21 <com.owncloud.android.ui.SquareLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
22 android:id="@+id/ListItemLayout"
23 android:layout_width="match_parent"
24 android:layout_height="match_parent"
25 android:layout_gravity="center_horizontal"
26 android:background="@drawable/list_selector"
27 android:gravity="center"
28 android:orientation="vertical" >
29
30 <FrameLayout
31 android:layout_width="match_parent"
32 android:layout_height="wrap_content"
33 android:layout_gravity="center_horizontal" >
34
35 <ImageView
36 android:id="@+id/favoriteIcon"
37 android:layout_width="15dp"
38 android:layout_height="15dp"
39 android:layout_gravity="bottom|right"
40 android:layout_marginBottom="2dp"
41 android:layout_marginRight="2dp"
42 android:src="@drawable/ic_favorite" />
43
44 <ImageView
45 android:id="@+id/thumbnail"
46 android:layout_width="64dp"
47 android:layout_height="64dp"
48 android:layout_gravity="center_horizontal"
49 android:layout_marginLeft="10dp"
50 android:layout_marginRight="10dp"
51 android:src="@drawable/ic_menu_archive" />
52
53 </FrameLayout>
54
55 <TextView
56 android:id="@+id/Filename"
57 android:layout_width="match_parent"
58 android:layout_height="wrap_content"
59 android:layout_marginLeft="4dp"
60 android:layout_marginRight="4dp"
61 android:ellipsize="middle"
62 android:gravity="center_horizontal"
63 android:singleLine="true"
64 android:text="TextView"
65 android:textColor="#303030"
66 android:textSize="16dip" />
67
68 </com.owncloud.android.ui.SquareLinearLayout>