1、如何在项目中引入该贴纸库:
compile 'com.lcw.library:StickeView:1.0.1'
2、布局设置:
<com.lcw.library.stickerview.StickerLayout
android:id="@+id/sl_sticker_layout"
android:layout_width="match_parent"
android:layout_height="match_parent" />
3、添加贴纸:
Sticker sticker = new Sticker(mContext,mBitmap);
mStickerLayout.addSticker(sticker);
就这么简单,持续更新,欢迎各种优化建议~
具体实现可以参考文章:
欢迎Star,欢迎Fork