1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2020 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:theme="@android:style/Theme.DeviceDefault.DayNight"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:orientation="vertical">
22    <LinearLayout
23        android:background="@drawable/people_space_tile_view_card"
24        android:clipToOutline="true"
25        android:id="@android:id/background"
26        android:gravity="center"
27        android:paddingHorizontal="16dp"
28        android:orientation="horizontal"
29        android:layout_width="match_parent"
30        android:layout_height="match_parent">
31        <LinearLayout
32            android:layout_width="wrap_content"
33            android:layout_height="wrap_content"
34            android:orientation="horizontal">
35            <ImageView
36                android:id="@+id/person_icon"
37                android:layout_width="@dimen/avatar_size_for_medium_empty"
38                android:layout_height="@dimen/avatar_size_for_medium_empty" />
39            <ImageView
40                android:id="@+id/availability"
41                android:layout_width="10dp"
42                android:layout_height="10dp"
43                android:gravity="top"
44                android:layout_gravity="top"
45                android:layout_marginStart="-2dp"
46                android:background="@drawable/availability_dot_10dp" />
47        </LinearLayout>
48        <LinearLayout
49            android:id="@+id/padding_before_availability"
50            android:orientation="vertical"
51            android:paddingStart="@dimen/availability_dot_shown_padding"
52            android:gravity="top"
53            android:layout_width="match_parent"
54            android:layout_height="wrap_content">
55            <TextView
56                android:id="@+id/name"
57                android:text="@string/empty_user_name"
58                android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title"
59                android:textColor="?android:attr/textColorPrimary"
60                android:textSize="@dimen/empty_name_text_size_for_medium"
61                android:maxLines="1"
62                android:ellipsize="end"
63                android:layout_width="wrap_content"
64                android:layout_height="wrap_content" />
65            <TextView
66                android:id="@+id/last_interaction"
67                android:text="@string/empty_status"
68                android:textColor="?android:attr/textColorSecondary"
69                android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title"
70                android:textSize="@dimen/content_text_size_for_medium"
71                android:layout_width="wrap_content"
72                android:layout_height="wrap_content"
73                android:maxLines="3"
74                android:ellipsize="end" />
75        </LinearLayout>
76    </LinearLayout>
77</FrameLayout>