Lyn Han | cd6465e | 2019-12-09 15:14:17 -0800 | [diff] [blame] | 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 | --> |
Lyn Han | b58c756 | 2020-01-07 14:29:20 -0800 | [diff] [blame] | 16 | |
Lyn Han | 05ea3f8 | 2020-02-05 17:53:08 -0800 | [diff] [blame] | 17 | <LinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/bubble_overflow_container" |
Lyn Han | b58c756 | 2020-01-07 14:29:20 -0800 | [diff] [blame] | 20 | android:layout_width="match_parent" |
Lyn Han | 05ea3f8 | 2020-02-05 17:53:08 -0800 | [diff] [blame] | 21 | android:layout_height="match_parent" |
Lyn Han | 4dccbc6 | 2020-03-16 23:31:24 -0700 | [diff] [blame] | 22 | android:paddingTop="@dimen/bubble_overflow_padding" |
Lyn Han | 0b6ca73 | 2020-03-31 00:11:04 -0700 | [diff] [blame] | 23 | android:paddingLeft="@dimen/bubble_overflow_padding" |
| 24 | android:paddingRight="@dimen/bubble_overflow_padding" |
Lyn Han | 05ea3f8 | 2020-02-05 17:53:08 -0800 | [diff] [blame] | 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" |
Lyn Han | cd4f87e | 2020-02-19 20:33:45 -0800 | [diff] [blame] | 31 | android:nestedScrollingEnabled="false" |
Lyn Han | 05ea3f8 | 2020-02-05 17:53:08 -0800 | [diff] [blame] | 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" |
Lyn Han | cd4f87e | 2020-02-19 20:33:45 -0800 | [diff] [blame] | 39 | android:paddingLeft="@dimen/bubble_overflow_empty_state_padding" |
| 40 | android:paddingRight="@dimen/bubble_overflow_empty_state_padding" |
Lyn Han | 05ea3f8 | 2020-02-05 17:53:08 -0800 | [diff] [blame] | 41 | android:orientation="vertical" |
| 42 | android:gravity="center"> |
| 43 | |
Lyn Han | e1cf3b2 | 2020-04-01 13:39:43 -0700 | [diff] [blame] | 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 | |
Lyn Han | 05ea3f8 | 2020-02-05 17:53:08 -0800 | [diff] [blame] | 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" |
Lyn Han | e1cf3b2 | 2020-04-01 13:39:43 -0700 | [diff] [blame] | 69 | android:paddingBottom="@dimen/bubble_empty_overflow_subtitle_padding" |
Lyn Han | 05ea3f8 | 2020-02-05 17:53:08 -0800 | [diff] [blame] | 70 | android:gravity="center"/> |
| 71 | </LinearLayout> |
| 72 | </LinearLayout> |