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<RelativeLayout 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" 19 android:id="@+id/top_level_no_conversations" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:padding="24dp" 23 android:clipToOutline="true"> 24 <TextView 25 android:id="@+id/select_conversation_title" 26 android:gravity="center" 27 android:text="@string/select_conversation_title" 28 android:layout_width="wrap_content" 29 android:layout_height="wrap_content" 30 android:layout_centerHorizontal="true" 31 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.ListItem" 32 android:textColor="?android:attr/textColorPrimary" 33 android:textSize="24sp" 34 android:layout_alignParentTop="true" /> 35 36 <TextView 37 android:id="@+id/select_conversation" 38 android:gravity="center" 39 android:text="@string/no_conversations_text" 40 android:layout_width="match_parent" 41 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.ListItem" 42 android:textColor="?android:attr/textColorPrimary" 43 android:textSize="16sp" 44 android:layout_height="wrap_content" 45 android:layout_gravity="center_horizontal" 46 android:padding="24dp" 47 android:layout_marginTop="26dp" 48 android:layout_below="@id/select_conversation_title"/> 49 50 <Button 51 style="?android:attr/buttonBarButtonStyle" 52 android:id="@+id/got_it_button" 53 android:layout_width="match_parent" 54 android:layout_height="wrap_content" 55 android:layout_gravity="center" 56 android:background="@drawable/rounded_bg_full_large_radius" 57 android:text="@string/got_it" 58 android:textColor="?androidprv:attr/textColorOnAccent" 59 android:layout_marginBottom="60dp" 60 android:layout_alignParentBottom="true" /> 61 62 <LinearLayout 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:layout_above="@id/got_it_button" 66 android:layout_below="@id/select_conversation" 67 android:layout_centerInParent="true" 68 android:clipToOutline="true"> 69 <LinearLayout 70 android:id="@+id/widget_initial_layout" 71 android:layout_width="200dp" 72 android:layout_height="100dp" 73 android:layout_gravity="center" 74 android:background="@drawable/rounded_bg_full_large_radius" 75 android:layout_above="@id/got_it_button"> 76 <include layout="@layout/people_space_placeholder_layout" /> 77 </LinearLayout> 78 </LinearLayout> 79</RelativeLayout>