Sunny Goyal | 77b3419 | 2019-04-19 01:46:51 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2018 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 | |
Alina Zaidi | f2c79de | 2021-05-27 14:55:21 +0100 | [diff] [blame] | 17 | <merge |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Sunny Goyal | 77b3419 | 2019-04-19 01:46:51 -0700 | [diff] [blame] | 19 | android:layout_height="wrap_content" |
| 20 | android:layout_width="wrap_content"> |
| 21 | |
Alina Zaidi | f2c79de | 2021-05-27 14:55:21 +0100 | [diff] [blame] | 22 | <TextView |
| 23 | android:id="@+id/text" |
Sunny Goyal | 77b3419 | 2019-04-19 01:46:51 -0700 | [diff] [blame] | 24 | android:layout_width="wrap_content" |
| 25 | android:layout_height="wrap_content" |
Sunny Goyal | 77b3419 | 2019-04-19 01:46:51 -0700 | [diff] [blame] | 26 | android:layout_gravity="center_horizontal" |
Alina Zaidi | f2c79de | 2021-05-27 14:55:21 +0100 | [diff] [blame] | 27 | android:gravity="center" |
| 28 | android:padding="16dp" |
| 29 | android:background="@drawable/arrow_toast_rounded_background" |
Sunny Goyal | 77b3419 | 2019-04-19 01:46:51 -0700 | [diff] [blame] | 30 | android:elevation="2dp" |
Alina Zaidi | ecdf657 | 2021-06-07 10:27:23 +0100 | [diff] [blame] | 31 | android:outlineProvider="none" |
Alina Zaidi | f2c79de | 2021-05-27 14:55:21 +0100 | [diff] [blame] | 32 | android:textColor="@color/arrow_tip_view_content" |
| 33 | android:textSize="14sp"/> |
Sunny Goyal | 77b3419 | 2019-04-19 01:46:51 -0700 | [diff] [blame] | 34 | |
| 35 | <View |
| 36 | android:id="@+id/arrow" |
| 37 | android:elevation="2dp" |
Alina Zaidi | ecdf657 | 2021-06-07 10:27:23 +0100 | [diff] [blame] | 38 | android:outlineProvider="none" |
Samuel Fufa | 880fc57 | 2021-05-21 12:42:32 -0500 | [diff] [blame] | 39 | android:layout_width="@dimen/arrow_toast_arrow_width" |
Alina Zaidi | ecdf657 | 2021-06-07 10:27:23 +0100 | [diff] [blame] | 40 | android:layout_height="10dp"/> |
Sunny Goyal | 77b3419 | 2019-04-19 01:46:51 -0700 | [diff] [blame] | 41 | </merge> |