• Stars
    star
    133
  • Rank 272,600 (Top 6 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 6 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

仿微博贴纸效果实现

Android开发之仿微博贴纸效果实现——StickerView

效果图:

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);

就这么简单,持续更新,欢迎各种优化建议~

具体实现可以参考文章:

Android开发之仿微博贴纸效果实现——基础篇

Android开发之仿微博贴纸效果实现——进阶

欢迎Star,欢迎Fork