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 android:id="@+id/stack_education_layout" 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:layout_height="wrap_content" 21 android:layout_width="wrap_content" 22 android:paddingTop="48dp" 23 android:paddingBottom="48dp" 24 android:paddingEnd="@dimen/bubble_user_education_padding_end" 25 android:layout_marginEnd="@dimen/bubble_user_education_margin_end" 26 android:orientation="vertical" 27 android:background="@drawable/bubble_stack_user_education_bg" 28 > 29 <TextView 30 android:id="@+id/stack_education_title" 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:paddingBottom="16dp" 34 android:fontFamily="@*android:string/config_bodyFontFamilyMedium" 35 android:maxLines="2" 36 android:ellipsize="end" 37 android:gravity="start" 38 android:textAlignment="viewStart" 39 android:text="@string/bubbles_user_education_title" 40 android:textColor="@android:color/system_neutral1_900" 41 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Headline"/> 42 43 <TextView 44 android:id="@+id/stack_education_description" 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:ellipsize="end" 48 android:gravity="start" 49 android:textAlignment="viewStart" 50 android:text="@string/bubbles_user_education_description" 51 android:textColor="@android:color/system_neutral1_900" 52 android:fontFamily="@*android:string/config_bodyFontFamily" 53 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body2"/> 54</LinearLayout> 55