Android-DivergeView

Introduction: 仿美拍直播平台的点赞动画特效。
More: Author   ReportBugs   
Tags:
动画-特效-点赞-

仿美拍直播的点赞动画。

Project site: https://github.com/HomHomLin/Android-DivergeView.

效果图

p1

原理

使用贝塞尔曲线的自定义 view。

使用

该项目有三种效果,分别位于项目的 DivergeView、DivergeView2 以及 test 库中,其中 DivergeView 为贝塞尔三次曲线效果,DivergeView2 为贝塞尔二次曲线效果(也是与美拍直播最相似的效果),test 为无限循环的发散礼物动画。

选择需要的项目,将项目下的 DivergeView.java 拷贝到自己的项目,因为项目比较简单,不提供 gradle,范例代码参见 demo。

Developed By

License

Copyright 2016 LinHongHong

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Apps
About Me
Google+: Trinea trinea
GitHub: Trinea