1<!-- 2 ~ Copyright (C) 2019 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 17<LinearLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@+id/bubble_overflow_container" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:paddingTop="@dimen/bubble_overflow_padding" 23 android:paddingLeft="@dimen/bubble_overflow_padding" 24 android:paddingRight="@dimen/bubble_overflow_padding" 25 android:orientation="vertical" 26 android:layout_gravity="center_horizontal"> 27 28 <androidx.recyclerview.widget.RecyclerView 29 android:id="@+id/bubble_overflow_recycler" 30 android:layout_gravity="center_horizontal" 31 android:nestedScrollingEnabled="false" 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content"/> 34 35 <LinearLayout 36 android:id="@+id/bubble_overflow_empty_state" 37 android:layout_width="match_parent" 38 android:layout_height="match_parent" 39 android:paddingLeft="@dimen/bubble_overflow_empty_state_padding" 40 android:paddingRight="@dimen/bubble_overflow_empty_state_padding" 41 android:orientation="vertical" 42 android:gravity="center"> 43 44 <ImageView 45 android:layout_width="@dimen/bubble_empty_overflow_image_height" 46 android:layout_height="@dimen/bubble_empty_overflow_image_height" 47 android:id="@+id/bubble_overflow_empty_state_image" 48 android:scaleType="fitCenter" 49 android:layout_gravity="center"/> 50 51 <TextView 52 android:id="@+id/bubble_overflow_empty_title" 53 android:text="@string/bubble_overflow_empty_title" 54 android:fontFamily="@*android:string/config_bodyFontFamilyMedium" 55 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body2" 56 android:textColor="?android:attr/textColorSecondary" 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:gravity="center"/> 60 61 <TextView 62 android:id="@+id/bubble_overflow_empty_subtitle" 63 android:fontFamily="@*android:string/config_bodyFontFamily" 64 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body2" 65 android:textColor="?android:attr/textColorSecondary" 66 android:text="@string/bubble_overflow_empty_subtitle" 67 android:layout_width="match_parent" 68 android:layout_height="wrap_content" 69 android:paddingBottom="@dimen/bubble_empty_overflow_subtitle_padding" 70 android:gravity="center"/> 71 </LinearLayout> 72</LinearLayout> 73