blob: f64b27fa131a650c88445cd8897689cf704a6a33 [file] [log] [blame]
Anna Galuszab1795f52016-01-08 14:37:16 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content"
20 android:minHeight="?android:attr/listPreferredItemHeightSmall"
21 android:gravity="center_vertical"
22 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
23 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
24 android:background="?android:attr/selectableItemBackground">
25
26 <RelativeLayout
27 android:layout_width="wrap_content"
28 android:layout_height="wrap_content"
29 android:layout_weight="1"
30 android:paddingTop="16dip"
31 android:paddingBottom="16dip">
32
33 <TextView
Adam Lesinski701af872016-08-16 15:59:14 -070034 android:id="@android:id/title"
Anna Galuszab1795f52016-01-08 14:37:16 -080035 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050037 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"
Anna Galuszab1795f52016-01-08 14:37:16 -080038 android:textColor="?android:attr/textColorPrimary"
pastychangca42bd32020-05-12 19:50:26 +080039 android:textAlignment="center"
Anna Galuszab1795f52016-01-08 14:37:16 -080040 android:ellipsize="marquee"
41 android:fadingEdge="horizontal" />
42
43 <TextView
44 android:id="@android:id/summary"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:layout_below="@android:id/title"
48 android:layout_alignStart="@android:id/title"
49 android:visibility="gone"
50 android:textAlignment="viewStart"
Amin Shaikha5e8bdd2018-12-19 14:42:59 -050051 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"
Anna Galuszab1795f52016-01-08 14:37:16 -080052 android:textColor="?android:attr/textColorSecondary"
53 android:maxLines="10" />
54
55 </RelativeLayout>
56
57</LinearLayout>