blob: bb2717372370208fce660744dea7ca74d458d3c3 [file] [log] [blame]
Jeff Sharkey09c10bf2013-06-30 20:02:59 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2013 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
Jeff Sharkey2e694f82013-08-06 16:26:14 -070017<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070018 android:layout_width="match_parent"
19 android:layout_height="wrap_content"
Jeff Sharkeyc317af82013-07-01 16:56:54 -070020 android:background="@drawable/item_background"
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070021 android:minHeight="?android:attr/listPreferredItemHeight"
22 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
23 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
24 android:paddingTop="8dip"
25 android:paddingBottom="8dip"
Jeff Sharkey2e694f82013-08-06 16:26:14 -070026 android:orientation="horizontal">
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070027
28 <ImageView
29 android:id="@android:id/icon"
30 android:layout_width="@android:dimen/app_icon_size"
31 android:layout_height="@android:dimen/app_icon_size"
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070032 android:layout_marginEnd="8dip"
Jeff Sharkey2e694f82013-08-06 16:26:14 -070033 android:layout_gravity="center_vertical"
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070034 android:scaleType="centerInside"
35 android:contentDescription="@null" />
36
Jeff Sharkey2e694f82013-08-06 16:26:14 -070037 <LinearLayout
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070038 android:layout_width="0dip"
Jeff Sharkey2e694f82013-08-06 16:26:14 -070039 android:layout_height="wrap_content"
40 android:layout_weight="1"
41 android:layout_gravity="center_vertical"
42 android:orientation="vertical">
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070043
Jeff Sharkey2e694f82013-08-06 16:26:14 -070044 <TextView
45 android:id="@android:id/title"
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
48 android:singleLine="true"
49 android:ellipsize="marquee"
50 android:textAppearance="?android:attr/textAppearanceMedium"
51 android:textAlignment="viewStart" />
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070052
Jeff Sharkey2e694f82013-08-06 16:26:14 -070053 <LinearLayout
54 android:id="@+id/line2"
55 android:layout_width="match_parent"
56 android:layout_height="wrap_content"
57 android:orientation="horizontal">
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070058
Jeff Sharkey2e694f82013-08-06 16:26:14 -070059 <ImageView
60 android:id="@android:id/icon1"
61 android:layout_width="24dip"
62 android:layout_height="24dip"
63 android:layout_marginEnd="6dip"
64 android:scaleType="centerInside"
65 android:contentDescription="@null" />
66
67 <TextView
68 android:id="@android:id/summary"
69 android:layout_width="0dp"
70 android:layout_height="wrap_content"
71 android:layout_weight="1"
72 android:layout_gravity="center_vertical"
73 android:layout_marginEnd="8dp"
74 android:singleLine="true"
75 android:ellipsize="marquee"
76 android:textAlignment="viewStart"
77 android:textAppearance="?android:attr/textAppearanceSmall" />
78
79 <TextView
80 android:id="@+id/size"
81 android:layout_width="70dp"
82 android:layout_height="wrap_content"
83 android:layout_gravity="center_vertical"
84 android:layout_marginEnd="8dp"
85 android:singleLine="true"
86 android:ellipsize="marquee"
87 android:textAlignment="viewEnd"
88 android:textAppearance="?android:attr/textAppearanceSmall" />
89
90 <TextView
91 android:id="@+id/date"
92 android:layout_width="70dp"
93 android:layout_height="wrap_content"
94 android:layout_gravity="center_vertical"
95 android:singleLine="true"
96 android:ellipsize="marquee"
97 android:textAlignment="viewEnd"
98 android:textAppearance="?android:attr/textAppearanceSmall" />
99
100 </LinearLayout>
101
102 </LinearLayout>
103
104</LinearLayout>