discovery_bounce.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. /*
  4. ** Copyright 2016, The Android Open Source Project
  5. **
  6. ** Licensed under the Apache License, Version 2.0 (the "License");
  7. ** you may not use this file except in compliance with the License.
  8. ** You may obtain a copy of the License at
  9. **
  10. ** http://www.apache.org/licenses/LICENSE-2.0
  11. **
  12. ** Unless required by applicable law or agreed to in writing, software
  13. ** distributed under the License is distributed on an "AS IS" BASIS,
  14. ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ** See the License for the specific language governing permissions and
  16. ** limitations under the License.
  17. */
  18. -->
  19. <set xmlns:android="http://schemas.android.com/apk/res/android"
  20. android:ordering="sequentially"
  21. android:startOffset="200">
  22. <objectAnimator
  23. android:propertyName="progress"
  24. android:duration="250"
  25. android:interpolator="@interpolator/disco_bounce_section1"
  26. android:valueFrom="1f"
  27. android:valueTo=".94f"
  28. android:valueType="floatType"/>
  29. <objectAnimator
  30. android:propertyName="progress"
  31. android:duration="216"
  32. android:interpolator="@interpolator/disco_bounce_section2"
  33. android:valueFrom=".94f"
  34. android:valueTo="1.012f"
  35. android:valueType="floatType"/>
  36. <objectAnimator
  37. android:propertyName="progress"
  38. android:duration="234"
  39. android:interpolator="@interpolator/disco_bounce_section3"
  40. android:valueFrom="1.012f"
  41. android:valueTo="1f"
  42. android:valueType="floatType"/>
  43. </set>