zoukankan      html  css  js  c++  java
  • Andorid

    rotate //旋转   alpha//淡入淡出  scale//缩放   translate//移动

     

    <?xml versioin="1.0" encoding="utf-8" ?>

    <set xmlns:android="http://schemas.android.com/apk/res/android"

        android:interpolator="@android:anim/accelerate_interpolator">

      <rotate 

        android:fromDegrees="0"

        android:toDegrees="360"

        android:pivotX="50%"

        android:pivotY="50%"

        android:startOffset="500"

        android:duration="1000"/>

      <scale

        android:fromXScale="1.0"

        android:toXScale="0.0"

        android:fromYScale="1.0"

        android:toYScale="0.0"

        android:pivotX="50%"

        android:pivotY="50%"

        android:startOffset="500"

        android:duration="500"/>

      <alpha

        android:fromAlpha="1.0"

        android:toAlpha="0.0"

        android:startOffset="500"

        android:duration="500"/>

    </set>

    ------------------------------
    Brant Liu

    lbf1988@qq.com

    有梦想的码农
  • 相关阅读:
    Transformer详解
    PAT 1012
    PAT 1011
    PAT 1010
    Jordan Lecture Note-3: 梯度投影法
    PAT 1009
    PAT 1008
    Jordan Lecture Note-2: Maximal Margin Classifier
    PAT 1007
    PAT 1006
  • 原文地址:https://www.cnblogs.com/brantliu/p/4866166.html
Copyright © 2011-2022 走看看