Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/HomHomLin/Android-DivergeView
仿美拍直播的点赞动画。
https://github.com/HomHomLin/Android-DivergeView
Last synced: 3 months ago
JSON representation
仿美拍直播的点赞动画。
- Host: GitHub
- URL: https://github.com/HomHomLin/Android-DivergeView
- Owner: HomHomLin
- Created: 2016-03-28T03:07:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T10:16:44.000Z (over 7 years ago)
- Last Synced: 2024-06-16T01:32:18.191Z (5 months ago)
- Language: Java
- Homepage: https://github.com/HomHomLin/Android-DivergeView
- Size: 1.06 MB
- Stars: 289
- Watchers: 10
- Forks: 62
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-android-ui - Android-DivergeView - 仿美拍直播的点赞动画 (点赞按钮)
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 LinHongHongLicensed 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 athttp://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.