1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2019 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 18<set xmlns:android="http://schemas.android.com/apk/res/android" 19 android:shareInterpolator="false"> 20 21 <!-- Fade out, over a black surface, which simulates a black scrim --> 22 <alpha 23 android:fromAlpha="1" 24 android:toAlpha="0.4" 25 android:fillEnabled="true" 26 android:fillBefore="true" 27 android:fillAfter="true" 28 android:interpolator="@interpolator/linear" 29 android:startOffset="83" 30 android:duration="167"/> 31 32 <scale 33 android:fromXScale="1" 34 android:toXScale="1.05" 35 android:fromYScale="1" 36 android:toYScale="1.05" 37 android:pivotX="50%" 38 android:pivotY="50%" 39 android:fillEnabled="true" 40 android:fillBefore="true" 41 android:fillAfter="true" 42 android:interpolator="@interpolator/fast_out_extra_slow_in" 43 android:duration="400"/> 44</set>