blob: caa9db664179f59ccf61c91373cdcc0364b9214e [file] [log] [blame]
Jeff Sharkey54e55b72013-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
17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="140dip"
20 android:paddingBottom="?android:attr/listPreferredItemPaddingEnd"
21 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
22
23 <FrameLayout
24 android:layout_width="match_parent"
25 android:layout_height="match_parent"
26 android:background="@color/chip"
Jeff Sharkeybe8b12e2013-07-01 16:56:54 -070027 android:foreground="@drawable/item_background"
Jeff Sharkey54e55b72013-06-30 20:02:59 -070028 android:duplicateParentState="true">
29
30 <GridLayout
31 android:layout_width="match_parent"
32 android:layout_height="match_parent"
33 android:columnCount="1">
34
35 <ImageView
36 android:id="@android:id/icon"
37 android:layout_width="match_parent"
38 android:layout_height="0dip"
39 android:layout_gravity="fill_vertical"
40 android:background="#bbb"
41 android:scaleType="centerInside"
42 android:contentDescription="@null" />
43
44 <TextView
45 android:id="@android:id/title"
46 android:layout_width="match_parent"
47 android:layout_marginStart="8dip"
48 android:layout_marginEnd="8dip"
49 android:layout_marginTop="8dip"
50 android:layout_marginBottom="8dip"
51 android:singleLine="true"
52 android:ellipsize="marquee"
53 android:textAppearance="?android:attr/textAppearanceSmall"
54 android:textAlignment="viewStart" />
55
56 </GridLayout>
57
58 </FrameLayout>
59
60</FrameLayout>