| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
<LinearLayout |
| 19 |
xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 |
android:id="@+id/manage_education_view" |
| 21 |
android:layout_width="wrap_content" |
| 22 |
android:layout_height="wrap_content" |
| 23 |
android:clickable="true" |
| 24 |
android:paddingTop="28dp" |
| 25 |
android:paddingBottom="16dp" |
| 26 |
android:paddingEnd="@dimen/bubble_user_education_padding_end" |
| 27 |
android:layout_marginEnd="@dimen/bubble_user_education_margin_end" |
| 28 |
android:orientation="vertical" |
| 29 |
android:background="@drawable/bubble_stack_user_education_bg" |
| 30 |
> |
| 31 |
|
| 32 |
<TextView |
| 33 |
android:id="@+id/user_education_title" |
| 34 |
android:layout_width="wrap_content" |
| 35 |
android:layout_height="wrap_content" |
| 36 |
android:paddingStart="16dp" |
| 37 |
android:paddingBottom="16dp" |
| 38 |
android:fontFamily="@*android:string/config_bodyFontFamilyMedium" |
| 39 |
android:maxLines="2" |
| 40 |
android:ellipsize="end" |
| 41 |
android:gravity="start" |
| 42 |
android:textAlignment="viewStart" |
| 43 |
android:textColor="@android:color/system_neutral1_900" |
| 44 |
android:text="@string/bubbles_user_education_manage_title" |
| 45 |
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Headline"/> |
| 46 |
|
| 47 |
<TextView |
| 48 |
android:id="@+id/user_education_description" |
| 49 |
android:layout_width="wrap_content" |
| 50 |
android:layout_height="wrap_content" |
| 51 |
android:paddingStart="16dp" |
| 52 |
android:paddingBottom="24dp" |
| 53 |
android:text="@string/bubbles_user_education_manage" |
| 54 |
android:maxLines="2" |
| 55 |
android:ellipsize="end" |
| 56 |
android:gravity="start" |
| 57 |
android:textAlignment="viewStart" |
| 58 |
android:textColor="@android:color/system_neutral1_900" |
| 59 |
android:fontFamily="@*android:string/config_bodyFontFamily" |
| 60 |
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body2"/> |
| 61 |
|
| 62 |
<LinearLayout |
| 63 |
android:layout_height="wrap_content" |
| 64 |
android:layout_width="wrap_content" |
| 65 |
android:id="@+id/button_layout" |
| 66 |
android:orientation="horizontal" > |
| 67 |
|
| 68 |
<include |
| 69 |
layout="@layout/bubble_manage_button" |
| 70 |
/> |
| 71 |
|
| 72 |
<com.android.wm.shell.common.AlphaOptimizedButton |
| 73 |
style="@android:style/Widget.DeviceDefault.Button.Borderless" |
| 74 |
android:id="@+id/got_it" |
| 75 |
android:layout_gravity="start" |
| 76 |
android:layout_width="wrap_content" |
| 77 |
android:layout_height="@dimen/bubble_manage_button_height" |
| 78 |
android:focusable="true" |
| 79 |
android:text="@string/bubbles_user_education_got_it" |
| 80 |
android:textSize="@*android:dimen/text_size_body_2_material" |
| 81 |
android:textColor="@android:color/system_neutral1_900" |
| 82 |
android:background="@drawable/bubble_manage_btn_bg" |
| 83 |
/> |
| 84 |
</LinearLayout> |
| 85 |
</LinearLayout> |