1<?xml version="1.0" encoding="utf-8"?><!-- 2 ~ Copyright (C) 2024 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 17<MotionScene xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:app="http://schemas.android.com/apk/res-auto"> 19 <Transition 20 android:id="@+id/close_to_open_transition" 21 app:constraintSetEnd="@+id/volume_dialog_ringer_drawer_open" 22 app:constraintSetStart="@+id/volume_dialog_ringer_drawer_close" 23 app:transitionEasing="cubic(0.05, 0.7, 0.1, 1.0)" 24 app:duration="400"> 25 </Transition> 26 27 <ConstraintSet android:id="@+id/volume_dialog_ringer_drawer_close"> 28 <Constraint 29 android:id="@+id/volume_ringer_drawer" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 app:layout_constraintTop_toTopOf="parent" 33 app:layout_constraintBottom_toBottomOf="parent" 34 app:layout_constraintStart_toStartOf="parent" 35 app:layout_constraintEnd_toEndOf="parent"/> 36 </ConstraintSet> 37 38 <ConstraintSet android:id="@+id/volume_dialog_ringer_drawer_open"> 39 <Constraint 40 android:id="@+id/volume_ringer_drawer" 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 app:layout_constraintTop_toTopOf="parent" 44 app:layout_constraintBottom_toBottomOf="parent" 45 app:layout_constraintStart_toStartOf="parent" 46 app:layout_constraintEnd_toEndOf="parent"/> 47 </ConstraintSet> 48 49</MotionScene>