Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tao2java/FireWork

Open more actions menu
 
 

Repository files navigation

FireWork

直播间送礼物之烟花效果

#效果图 image

#Get it

compile 'com.jingtianxiaozhi.firework:firework-core:1.0.0'

#How To Use(Too Simple)

//1.新建一个烟花效果(第二个参数是礼物资源Id)
FireWorkView fireWorkView = new FireWorkView(MainActivity.this, R.drawable.heart);
//2.在布局上增加烟花效果
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -1);
linearlayout.addView(fireWorkView, layoutParams);
//3.播放动画
fireWorkView.playAnim();

#Tanks For Leonids https://github.com/plattysoft/Leonids

About

直播间送礼物之烟花效果

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.