![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
动画
张漂亮2号
既然选择了远方.便只顾风雨兼程
展开
-
Android 动画,从顶部进入,底部往上退出,类似于卷窗口的效果
enter_top.xmlxml version="1.0" encoding="utf-8"?> set xmlns:android="http://schemas.android.com/apk/res/android"> translate android:duration="500" android:fromYDelta="-100%p"原创 2018-01-18 15:37:04 · 3438 阅读 · 0 评论 -
Android activity进出动画,类似于左右拉窗帘效果
in_from_right.xmlxml version="1.0" encoding="utf-8"?> set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"> translate原创 2018-01-18 17:44:01 · 1421 阅读 · 0 评论 -
android 旋转刷新动画
final ImageView refresh = findViewById(R.id.activity_other_top_refresh); final ObjectAnimator objectAnimator = ObjectAnimator.ofFloat(refresh, "rotation", 1080f); objectAnimator.setDuration(2000); ob...原创 2019-05-10 22:05:15 · 1048 阅读 · 0 评论