Home | History | Annotate | Download | only in anim
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3  * Copyright (C) 2009 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" android:shareInterpolator="false">
     19 
     20     <scale
     21         android:interpolator="@android:anim/accelerate_decelerate_interpolator"
     22         android:fromXScale="1.0"
     23         android:toXScale="1.4"
     24         android:fromYScale="1.0"
     25         android:toYScale="0.6"
     26         android:pivotX="50%"
     27         android:pivotY="50%"
     28         android:fillAfter="false"
     29         android:duration="900" />
     30 
     31     <set
     32         android:interpolator="@android:anim/accelerate_interpolator"
     33                 android:startOffset="700">
     34 
     35         <scale
     36             android:fromXScale="1.4"
     37             android:toXScale="0.0"
     38             android:fromYScale="0.6"
     39             android:toYScale="0.0"
     40             android:pivotX="50%"
     41             android:pivotY="50%"
     42             android:duration="400" />
     43 
     44         <rotate
     45             android:fromDegrees="0"
     46             android:toDegrees="-45"
     47             android:toYScale="0.0"
     48             android:pivotX="50%"
     49             android:pivotY="50%"
     50             android:duration="400" />
     51     </set>
     52 
     53 </set>
     54