Home

Awesome

QQBubbleView

Outline

利用三阶贝塞尔曲线模仿QQ空间直播时右下角的礼物冒泡特效

ScreenShot

Usage

compile 'yasic.library.BubbleView:bubbleview:0.0.4'
void startAnimation(final int rankWidth, final int rankHeight)
void startAnimation(final int rankWidth, final int rankHeight, int count)
void startAnimation(final int rankWidth, final int rankHeight, int delay, int count)
BubbleView setDefaultDrawableList()
BubbleView setDrawableList(drawableList)
BubbleView setRiseDuration(int riseDuration)
BubbleView setBottomPadding(int px)
BubbleView setOriginsOffset(int px)
BubbleView setScaleAnimation(float maxScale, float minScale)
BubbleView setAnimationDelay(int delay)
void setMaxHeartNum(int maxHeartNum)
void setMinHeartNum(int minHeartNum)
BubbleView setItemViewWH(int viewWidth, int viewHeight)

Point