Merge remote-tracking branch 'remotes/upstream/resizeCache' into beta
[pub/Android/ownCloud.git] / res / layout / uploader_list_item_layout.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) 2015 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_width="fill_parent"
22 android:layout_height="72dp"
23 android:background="@drawable/list_selector"
24 android:orientation="horizontal">
25
26 <LinearLayout
27 android:layout_width="60dp"
28 android:layout_height="72dp"
29 android:orientation="horizontal">
30
31 <ImageView
32 android:id="@+id/thumbnail"
33 android:layout_width="@dimen/file_icon_size"
34 android:layout_height="@dimen/file_icon_size"
35 android:layout_gravity="center_vertical"
36 android:layout_marginLeft="12dp"
37 android:src="@drawable/ic_menu_archive" />
38
39 </LinearLayout>
40
41 <LinearLayout
42 android:layout_width="0dp"
43 android:layout_height="match_parent"
44 android:layout_weight="1"
45 android:gravity="top"
46 android:paddingTop="@dimen/standard_padding"
47 android:orientation="vertical">
48
49 <TextView
50 android:id="@+id/filename"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:layout_gravity="center_vertical"
54 android:layout_marginRight="4dp"
55 android:ellipsize="middle"
56 android:singleLine="true"
57 android:text="TextView"
58 android:textColor="@color/textColor"
59 android:textSize="16sp" />
60
61 <TextView
62 android:id="@+id/last_mod"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:layout_marginRight="4dp"
66 android:text="TextView"
67 android:textColor="@color/list_item_lastmod_and_filesize_text"
68 android:textSize="14sp" />
69
70 </LinearLayout>
71
72 </LinearLayout>