Skip to content

Commit 3c183a3

Browse files
authored
Update README.md
1 parent 24c1034 commit 3c183a3

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)