/StickerView-1

A view which can add sticker and zoom,drag,delete it

Primary LanguageJavaMIT LicenseMIT

StickerView

A view which can add sticker and zoom,drag,delete it

###screenshots

###usage StickerView extends ImageView in layout

<com.xiaopo.flying.sticker.StickerView
        android:id="@+id/sticker_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center"
        android:src="@drawable/haizewang_215" />

add sticker, support bitmap and drawable. if the sticker is drawable, it's intrinsic width and height can not be zero.

stickerView.addSticker(bitmap)
stickerView.addSticker(drawable)

update

  • 2016/10/11 Add horizontal flip function
  • 2016/10/12 Add Lock function to disable handle stickers

licence

MIT LICENCE