File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ app build.gradle
2929
3030````
3131 dependencies {
32- implementation 'com.github.HpWens:MeiWidgetView:v0.0.9 '
32+ implementation 'com.github.HpWens:MeiWidgetView:v0.1.0 '
3333 }
3434````
3535
@@ -418,9 +418,27 @@ app build.gradle
418418 />
419419````
420420
421- #### c、相关文章
421+ ### 11、LOVE玫瑰
422422
423- [ JBox2D运用-打造摩拜单车贴纸动画效果] ( https://www.jianshu.com/p/95cb24a746c5 )
423+ #### a、效果预览
424+
425+ <img src =" /gif/mei_rose.gif " width =" 280px " />
426+
427+ #### b、xml布局
428+
429+ ````
430+ <com.meis.widget.rose.RoseGiftSurfaceView
431+ android:id="@+id/rose"
432+ android:layout_width="0dp"
433+ android:layout_height="0dp"
434+ ... />
435+ ````
436+
437+ #### c、开始动画
438+
439+ ````
440+ mRoseGiftSurfaceView.startAnimation();
441+ ````
424442
425443## Contact
426444
You can’t perform that action at this time.
0 commit comments