Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

仿美拍直播的点赞动画。
https://github.com/HomHomLin/Android-DivergeView

Last synced: about 1 month ago
JSON representation

仿美拍直播的点赞动画。

Awesome Lists containing this project

README

        

# Android-DivergeView

仿美拍直播的点赞动画。

Project site: .

## 效果图

![p1](https://raw.githubusercontent.com/HomHomLin/Android-DivergeView/master/demo.gif)

## 原理

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

## 使用

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

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

## Developed By

* Linhonghong -

##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.