1<!-- 2 ~ Copyright (C) 2022 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 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_with_conversations" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:orientation="vertical" 23 android:padding="8dp"> 24 <TextView 25 android:id="@+id/select_conversation_title" 26 android:text="@string/select_conversation_title" 27 android:gravity="center" 28 android:layout_width="wrap_content" 29 android:layout_height="wrap_content" 30 android:layout_gravity="center_horizontal" 31 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.ListItem" 32 android:textColor="?android:attr/textColorPrimary" 33 android:textSize="24sp"/> 34 35 <TextView 36 android:id="@+id/select_conversation" 37 android:text="@string/select_conversation_text" 38 android:gravity="center" 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:layout_gravity="center_horizontal" 42 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.ListItem" 43 android:textColor="?android:attr/textColorPrimary" 44 android:textSize="16sp" 45 android:paddingVertical="24dp" 46 android:paddingHorizontal="48dp"/> 47 48 <androidx.core.widget.NestedScrollView 49 android:id="@+id/scroll_view" 50 android:layout_width="match_parent" 51 android:layout_height="match_parent"> 52 53 <LinearLayout 54 android:id="@+id/scroll_layout" 55 android:layout_width="match_parent" 56 android:layout_height="wrap_content" 57 android:layout_marginTop="16dp" 58 android:orientation="vertical"> 59 60 <LinearLayout 61 android:id="@+id/priority" 62 android:orientation="vertical" 63 android:layout_width="match_parent" 64 android:layout_height="wrap_content" 65 android:layout_marginBottom="35dp"> 66 <TextView 67 android:id="@+id/priority_header" 68 android:text="@string/priority_conversations" 69 android:layout_width="wrap_content" 70 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title" 71 android:textColor="?androidprv:attr/colorAccentPrimaryVariant" 72 android:textSize="14sp" 73 android:paddingStart="16dp" 74 android:layout_height="wrap_content"/> 75 76 <LinearLayout 77 android:id="@+id/priority_tiles" 78 android:layout_width="match_parent" 79 android:layout_height="wrap_content" 80 android:layout_marginTop="10dp" 81 android:orientation="vertical" 82 android:background="@drawable/rounded_bg_full_large_radius" 83 android:clipToOutline="true"> 84 </LinearLayout> 85 </LinearLayout> 86 87 <LinearLayout 88 android:id="@+id/recent" 89 android:orientation="vertical" 90 android:layout_width="match_parent" 91 android:layout_height="wrap_content"> 92 <TextView 93 android:id="@+id/recent_header" 94 android:gravity="start" 95 android:text="@string/recent_conversations" 96 android:layout_width="wrap_content" 97 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Notification.Title" 98 android:textColor="?androidprv:attr/colorAccentPrimaryVariant" 99 android:textSize="14sp" 100 android:paddingStart="16dp" 101 android:layout_height="wrap_content"/> 102 103 <LinearLayout 104 android:id="@+id/recent_tiles" 105 android:layout_width="match_parent" 106 android:layout_height="wrap_content" 107 android:layout_marginTop="10dp" 108 android:orientation="vertical" 109 android:background="@drawable/rounded_bg_full_large_radius" 110 android:clipToOutline="true"> 111 </LinearLayout> 112 </LinearLayout> 113 </LinearLayout> 114 </androidx.core.widget.NestedScrollView> 115</LinearLayout>