1<!-- 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 xmlns:androidprv="http://schemas.android.com/apk/prv/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 23 <LinearLayout 24 android:background="@drawable/people_space_tile_view_card" 25 android:clipToOutline="true" 26 android:id="@android:id/background" 27 android:orientation="horizontal" 28 android:gravity="center" 29 android:contentDescription="@string/status_before_loading" 30 android:layout_gravity="top" 31 android:paddingVertical="16dp" 32 android:paddingHorizontal="16dp" 33 android:layout_width="match_parent" 34 android:layout_height="match_parent"> 35 36 <LinearLayout 37 android:orientation="vertical" 38 android:paddingEnd="20dp" 39 android:gravity="bottom" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content"> 42 43 <ImageView 44 android:background="@drawable/ic_person" 45 android:layout_width="48dp" 46 android:layout_height="48dp" /> 47 48 <TextView 49 android:id="@+id/name" 50 android:paddingTop="2dp" 51 android:text="@string/empty_user_name" 52 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title" 53 android:textColor="?android:attr/textColorPrimary" 54 android:textSize="12sp" 55 android:maxLines="1" 56 android:ellipsize="end" 57 android:layout_width="wrap_content" 58 android:layout_height="wrap_content" /> 59 </LinearLayout> 60 61 <TextView 62 android:text="@string/status_before_loading" 63 android:textColor="?android:attr/textColorPrimary" 64 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title" 65 android:textSize="12sp" 66 android:layout_width="wrap_content" 67 android:layout_height="wrap_content" 68 android:maxLines="3" 69 android:ellipsize="end" /> 70 </LinearLayout> 71</LinearLayout>