1<?xml version="1.0" encoding="utf-8"?><!--
2  ~ Copyright (C) 2021 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<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
17    android:id="@android:id/background"
18    android:background="@drawable/people_space_tile_view_card"
19    android:clipToOutline="true"
20    android:theme="@android:style/Theme.DeviceDefault.DayNight"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent"
23    android:paddingHorizontal="16dp"
24    android:paddingTop="14dp"
25    android:paddingBottom="16dp">
26
27    <LinearLayout
28        android:layout_width="match_parent"
29        android:layout_height="wrap_content"
30        android:gravity="top|center_horizontal"
31        android:orientation="vertical">
32
33        <ImageView
34            android:id="@+id/person_icon"
35            android:layout_width="wrap_content"
36            android:layout_height="wrap_content" />
37
38        <TextView
39            android:id="@+id/name"
40            android:paddingTop="14dp"
41            android:layout_width="wrap_content"
42            android:layout_height="wrap_content"
43            android:ellipsize="end"
44            android:singleLine="true"
45            android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title"
46            android:textColor="?android:attr/textColorPrimary"
47            android:textSize="@dimen/name_text_size_for_large" />
48        <TextView
49            android:id="@+id/last_interaction"
50            android:text="@string/empty_status"
51            android:textColor="?android:attr/textColorSecondary"
52            android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title"
53            android:textSize="@dimen/content_text_size_for_large"
54            android:layout_width="wrap_content"
55            android:layout_height="wrap_content"
56            android:ellipsize="end"
57            android:singleLine="true"/>
58    </LinearLayout>
59    <ImageView
60        android:id="@+id/availability"
61        android:layout_gravity="bottom|center_horizontal"
62        android:layout_width="10dp"
63        android:layout_height="10dp"
64        android:background="@drawable/availability_dot_10dp"/>
65</FrameLayout>