ArcAnimator 可帮助创建弧形过渡动画: 2.3.+
ArcAnimator 可帮助创建弧形过渡动画: 14+
| ArcAnimator Demo | TransitionLoop Demo* *TransitionLoop Prototype 由 Min-Sang Choi Dribbble 提供 - #1 gif 的 YouTube 视频 - #2 gif 的 YouTube 视频 使用方法 === 添加库到您的项目: groovy compile 'com.github.asyl.animation:arcanimator:1.0.0' 然后在项目代码中使用: ```java
//set up clipView and coordinates where clipView will move
ArcAnimator.createArcAnimator(clipView, endX, endY, DEGREE, SIDE)
.setDuration(500)
.start();
//or specify nestView for clipView. Animator will take center x,y coordinates of nestView
ArcAnimator.createArcAnimator(clipView, nestView, DEGREE, SIDE)
.setDuration(500)
.start();
下载 === 要将此库添加到您的项目中,请在 build.gradle 中添加:gradle
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.asyl:ArcAnimator:v1.0.0'
}
MIT 许可证 (MIT)
Copyright (c) 2015 Asylbek Isakov
本许可授予任何人,免费获取本软件及相关文档文件("软件")的复制品,并允许该人不受限制地处理软件,包括但不限于使用、复制、修改、合并、发布、分发、转授权和/或销售软件的复制品,并允许向获得软件的人提供此类权利,但需遵守以下条件:暂无开放 Issues,或尚未同步最近议题。