Mady Mellor | 5a3e94b | 2020-02-07 12:16:21 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright (C) 2020 The Android Open Source Project |
| 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
| 16 | --> |
| 17 | <LinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/user_education_view" |
| 20 | android:layout_height="wrap_content" |
| 21 | android:layout_width="wrap_content" |
| 22 | android:paddingTop="48dp" |
| 23 | android:paddingBottom="48dp" |
| 24 | android:paddingStart="@dimen/bubble_stack_user_education_side_inset" |
| 25 | android:paddingEnd="16dp" |
| 26 | android:layout_marginEnd="24dp" |
| 27 | android:orientation="vertical" |
| 28 | android:background="@drawable/bubble_stack_user_education_bg"> |
| 29 | |
| 30 | <TextView |
| 31 | android:id="@+id/user_education_title" |
| 32 | android:layout_width="wrap_content" |
| 33 | android:layout_height="wrap_content" |
| 34 | android:paddingBottom="16dp" |
| 35 | android:fontFamily="@*android:string/config_bodyFontFamilyMedium" |
Lyn Han | 442e92e | 2020-06-16 18:04:25 -0700 | [diff] [blame] | 36 | android:maxLines="2" |
| 37 | android:ellipsize="end" |
Mady Mellor | 5a3e94b | 2020-02-07 12:16:21 -0800 | [diff] [blame] | 38 | android:text="@string/bubbles_user_education_title" |
| 39 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Headline"/> |
| 40 | |
| 41 | <TextView |
| 42 | android:id="@+id/user_education_description" |
| 43 | android:layout_width="wrap_content" |
| 44 | android:layout_height="wrap_content" |
Lyn Han | 442e92e | 2020-06-16 18:04:25 -0700 | [diff] [blame] | 45 | android:ellipsize="end" |
Mady Mellor | 5a3e94b | 2020-02-07 12:16:21 -0800 | [diff] [blame] | 46 | android:text="@string/bubbles_user_education_description" |
| 47 | android:fontFamily="@*android:string/config_bodyFontFamily" |
| 48 | android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body2"/> |
| 49 | |
| 50 | </LinearLayout> |