blob: 306061911f8dc6e855c1f813d54ccf3855497db7 [file] [log] [blame]
Lyn Hancd6465e2019-12-09 15:14:17 -08001<!--
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 -->
Lyn Hanb58c7562020-01-07 14:29:20 -080016
Lyn Han05ea3f82020-02-05 17:53:08 -080017<LinearLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:id="@+id/bubble_overflow_container"
Lyn Hanb58c7562020-01-07 14:29:20 -080020 android:layout_width="match_parent"
Lyn Han05ea3f82020-02-05 17:53:08 -080021 android:layout_height="match_parent"
Lyn Han4dccbc62020-03-16 23:31:24 -070022 android:paddingTop="@dimen/bubble_overflow_padding"
Lyn Han0b6ca732020-03-31 00:11:04 -070023 android:paddingLeft="@dimen/bubble_overflow_padding"
24 android:paddingRight="@dimen/bubble_overflow_padding"
Lyn Han05ea3f82020-02-05 17:53:08 -080025 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"
Lyn Hancd4f87e2020-02-19 20:33:45 -080031 android:nestedScrollingEnabled="false"
Lyn Han05ea3f82020-02-05 17:53:08 -080032 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"
Lyn Hancd4f87e2020-02-19 20:33:45 -080039 android:paddingLeft="@dimen/bubble_overflow_empty_state_padding"
40 android:paddingRight="@dimen/bubble_overflow_empty_state_padding"
Lyn Han05ea3f82020-02-05 17:53:08 -080041 android:orientation="vertical"
42 android:gravity="center">
43
Lyn Hane1cf3b22020-04-01 13:39:43 -070044 <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
Lyn Han05ea3f82020-02-05 17:53:08 -080051 <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"
Lyn Hane1cf3b22020-04-01 13:39:43 -070069 android:paddingBottom="@dimen/bubble_empty_overflow_subtitle_padding"
Lyn Han05ea3f82020-02-05 17:53:08 -080070 android:gravity="center"/>
71 </LinearLayout>
72</LinearLayout>