Skip to content

T3RON/android-StickerView

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android-StickerView

Description

StickerView is a android UI library that make you able to use Single hand gesture to rotate, scale and flip the ‘sticker’.

alt tag

Usage

The usage is simple, just like adding a child view. For example, if you have an activity:

FrameLayout canvas = findViewById(R.id.vg_canvas); 

//……

// add a stickerImage to canvas
StickerImageView iv_sticker = new StickerImageView(getContext());
iv_sticker.setImageDrawable(((ImageView)view.findViewById(R.id.iv_sticker)).getDrawable());
canvas.adView(iv_sticker);

// add a stickerText to canvas
StickerTextView tv_sticker = new StickerTextView(getContext());
tv_sticker.setText(“call me baby”);
canvas.addView(tv_sticker);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%