1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2023 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<merge xmlns:android="http://schemas.android.com/apk/res/android" 17 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" 18 xmlns:app="http://schemas.android.com/apk/res-auto"> 19 20 <TextView 21 android:id="@+id/title" 22 style="@style/TextAppearance.TaskbarEduTooltip.Title" 23 android:layout_width="0dp" 24 android:layout_height="wrap_content" 25 android:text="@string/taskbar_edu_features" 26 app:layout_constraintEnd_toEndOf="parent" 27 app:layout_constraintStart_toStartOf="parent" 28 app:layout_constraintTop_toTopOf="parent" /> 29 30 <com.airbnb.lottie.LottieAnimationView 31 android:id="@+id/splitscreen_animation" 32 android:layout_width="@dimen/taskbar_edu_features_lottie_width" 33 android:layout_height="@dimen/taskbar_edu_features_lottie_height" 34 android:layout_marginTop="@dimen/taskbar_edu_tooltip_vertical_margin" 35 app:layout_constraintStart_toStartOf="parent" 36 app:layout_constraintTop_toBottomOf="@id/title" 37 app:lottie_autoPlay="true" 38 app:lottie_loop="true" /> 39 40 <TextView 41 android:id="@+id/splitscreen_text" 42 style="@style/TextAppearance.TaskbarEduTooltip.Subtext" 43 android:layout_width="0dp" 44 android:layout_height="wrap_content" 45 android:text="@string/taskbar_edu_splitscreen" 46 app:layout_constraintEnd_toEndOf="@id/splitscreen_animation" 47 app:layout_constraintStart_toStartOf="@id/splitscreen_animation" 48 app:layout_constraintTop_toBottomOf="@id/splitscreen_animation" /> 49 50 <androidx.constraintlayout.widget.Group 51 android:id="@+id/settings_edu" 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 app:constraint_referenced_ids="settings_animation,settings_text" /> 55 56 <com.airbnb.lottie.LottieAnimationView 57 android:id="@+id/settings_animation" 58 android:layout_width="@dimen/taskbar_edu_features_lottie_width" 59 android:layout_height="@dimen/taskbar_edu_features_lottie_height" 60 android:layout_marginStart="@dimen/taskbar_edu_features_horizontal_spacing" 61 android:layout_marginTop="@dimen/taskbar_edu_tooltip_vertical_margin" 62 app:layout_constraintStart_toEndOf="@id/splitscreen_animation" 63 app:layout_constraintTop_toBottomOf="@id/title" 64 app:lottie_autoPlay="true" 65 app:lottie_loop="true" 66 app:lottie_rawRes="@raw/taskbar_edu_settings" /> 67 68 <TextView 69 android:id="@+id/settings_text" 70 style="@style/TextAppearance.TaskbarEduTooltip.Subtext" 71 android:layout_width="0dp" 72 android:layout_height="wrap_content" 73 android:text="@string/taskbar_edu_settings_persistent" 74 app:layout_constraintEnd_toEndOf="@id/settings_animation" 75 app:layout_constraintStart_toStartOf="@id/settings_animation" 76 app:layout_constraintTop_toBottomOf="@id/settings_animation" /> 77 78 <com.airbnb.lottie.LottieAnimationView 79 android:id="@+id/suggestions_animation" 80 android:layout_width="@dimen/taskbar_edu_features_lottie_width" 81 android:layout_height="@dimen/taskbar_edu_features_lottie_height" 82 android:layout_marginStart="@dimen/taskbar_edu_features_horizontal_spacing" 83 android:layout_marginTop="@dimen/taskbar_edu_tooltip_vertical_margin" 84 app:layout_constraintEnd_toEndOf="parent" 85 app:layout_constraintStart_toEndOf="@id/settings_animation" 86 app:layout_constraintTop_toBottomOf="@id/title" 87 app:lottie_autoPlay="true" 88 app:lottie_loop="true" /> 89 90 <TextView 91 android:id="@+id/suggestions_text" 92 style="@style/TextAppearance.TaskbarEduTooltip.Subtext" 93 android:layout_width="0dp" 94 android:layout_height="wrap_content" 95 android:text="@string/taskbar_edu_suggestions" 96 app:layout_constraintEnd_toEndOf="@id/suggestions_animation" 97 app:layout_constraintStart_toStartOf="@id/suggestions_animation" 98 app:layout_constraintTop_toBottomOf="@id/suggestions_animation" /> 99 100 <androidx.constraintlayout.widget.Barrier 101 android:id="@+id/edu_barrier_bottom" 102 android:layout_width="wrap_content" 103 android:layout_height="wrap_content" 104 app:barrierDirection="bottom" 105 app:constraint_referenced_ids="splitscreen_text,settings_text,suggestions_text" /> 106 107 <Button 108 android:id="@+id/done_button" 109 style="@style/TaskbarEdu.Button.Next" 110 android:layout_width="wrap_content" 111 android:layout_height="36dp" 112 android:layout_marginTop="32dp" 113 android:text="@string/taskbar_edu_done" 114 android:textColor="?androidprv:attr/textColorOnAccent" 115 app:layout_constraintBottom_toBottomOf="parent" 116 app:layout_constraintEnd_toEndOf="parent" 117 app:layout_constraintTop_toBottomOf="@id/edu_barrier_bottom" /> 118</merge>