| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
<com.android.wm.shell.compatui.letterboxedu.LetterboxEduDialogLayout |
| 17 |
xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 |
xmlns:app="http://schemas.android.com/apk/res-auto" |
| 19 |
android:layout_width="wrap_content" |
| 20 |
android:layout_height="wrap_content" |
| 21 |
android:background="@android:color/system_neutral1_900"> |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
<FrameLayout |
| 29 |
android:id="@+id/letterbox_education_dialog_container" |
| 30 |
android:layout_width="0dp" |
| 31 |
android:layout_height="wrap_content" |
| 32 |
android:layout_marginHorizontal="@dimen/letterbox_education_dialog_margin" |
| 33 |
android:background="@drawable/letterbox_education_dialog_background" |
| 34 |
android:alpha="0" |
| 35 |
app:layout_constraintTop_toTopOf="parent" |
| 36 |
app:layout_constraintBottom_toBottomOf="parent" |
| 37 |
app:layout_constraintStart_toStartOf="parent" |
| 38 |
app:layout_constraintEnd_toEndOf="parent" |
| 39 |
app:layout_constraintWidth_max="@dimen/letterbox_education_dialog_width" |
| 40 |
app:layout_constrainedHeight="true"> |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
<ScrollView |
| 45 |
android:layout_width="match_parent" |
| 46 |
android:layout_height="wrap_content"> |
| 47 |
|
| 48 |
<LinearLayout |
| 49 |
android:layout_width="match_parent" |
| 50 |
android:layout_height="wrap_content" |
| 51 |
android:gravity="center_horizontal" |
| 52 |
android:orientation="vertical" |
| 53 |
android:paddingTop="32dp" |
| 54 |
android:paddingBottom="32dp" |
| 55 |
android:paddingLeft="56dp" |
| 56 |
android:paddingRight="56dp"> |
| 57 |
|
| 58 |
<ImageView |
| 59 |
android:layout_width="@dimen/letterbox_education_dialog_title_icon_width" |
| 60 |
android:layout_height="@dimen/letterbox_education_dialog_title_icon_height" |
| 61 |
android:layout_marginBottom="17dp" |
| 62 |
android:src="@drawable/letterbox_education_ic_light_bulb"/> |
| 63 |
|
| 64 |
<TextView |
| 65 |
android:id="@+id/letterbox_education_dialog_title" |
| 66 |
android:layout_width="match_parent" |
| 67 |
android:layout_height="wrap_content" |
| 68 |
android:lineSpacingExtra="4sp" |
| 69 |
android:text="@string/letterbox_education_dialog_title" |
| 70 |
android:textAlignment="center" |
| 71 |
android:textColor="@color/compat_controls_text" |
| 72 |
android:textSize="24sp"/> |
| 73 |
|
| 74 |
<LinearLayout |
| 75 |
android:layout_width="wrap_content" |
| 76 |
android:layout_height="wrap_content" |
| 77 |
android:gravity="top" |
| 78 |
android:orientation="horizontal" |
| 79 |
android:paddingTop="48dp"> |
| 80 |
|
| 81 |
<com.android.wm.shell.compatui.letterboxedu.LetterboxEduDialogActionLayout |
| 82 |
android:layout_width="wrap_content" |
| 83 |
android:layout_height="wrap_content" |
| 84 |
app:icon="@drawable/letterbox_education_ic_reposition" |
| 85 |
app:text="@string/letterbox_education_reposition_text"/> |
| 86 |
|
| 87 |
<com.android.wm.shell.compatui.letterboxedu.LetterboxEduDialogActionLayout |
| 88 |
android:layout_width="wrap_content" |
| 89 |
android:layout_height="wrap_content" |
| 90 |
android:layout_marginStart= |
| 91 |
"@dimen/letterbox_education_dialog_space_between_actions" |
| 92 |
app:icon="@drawable/letterbox_education_ic_split_screen" |
| 93 |
app:text="@string/letterbox_education_split_screen_text"/> |
| 94 |
|
| 95 |
</LinearLayout> |
| 96 |
|
| 97 |
<Button |
| 98 |
android:id="@+id/letterbox_education_dialog_dismiss_button" |
| 99 |
android:layout_width="match_parent" |
| 100 |
android:layout_height="56dp" |
| 101 |
android:layout_marginTop="40dp" |
| 102 |
android:background= |
| 103 |
"@drawable/letterbox_education_dismiss_button_background_ripple" |
| 104 |
android:text="@string/letterbox_education_got_it" |
| 105 |
android:textColor="@android:color/system_neutral1_900" |
| 106 |
android:textAlignment="center" |
| 107 |
android:contentDescription="@string/letterbox_education_got_it"/> |
| 108 |
|
| 109 |
</LinearLayout> |
| 110 |
|
| 111 |
</ScrollView> |
| 112 |
|
| 113 |
</FrameLayout> |
| 114 |
|
| 115 |
</com.android.wm.shell.compatui.letterboxedu.LetterboxEduDialogLayout> |