FlutteringLayout for Android 一个直播间点赞桃心飘动效果的控件。
<dependency>
<groupId>com.king.view</groupId>
<artifactId>flutteringlayout</artifactId>
<version>1.1.0</version>
<type>pom</type>
</dependency>
compile 'com.king.view:flutteringlayout:1.1.0'<dependency org='com.king.view' name='flutteringlayout' rev='1.1.0'>
<artifact name='$AID' ext='pom'></artifact>
</dependency>
allprojects {
repositories {
maven { url 'https://dl.bintray.com/jenly/maven' }
}
}布局
<com.king.view.flutteringlayout.FlutteringLayout
android:id="@+id/flutteringLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="10dp"
app:duration="3000"
app:enter_duration="300"
app:scale="1.0"/>添加桃心代码
flutteringlayout.addHeart();Name: Jenly
Email: [email protected] / [email protected]
CSDN: http://blog.csdn.net/jenly121
Github: https://github.com/jenly1314
微信公众号:
加入QQ群: 20867961

