tonguetech / Android-StickerView

Apache License 2.0
123 stars 41 forks source link

How to finalize the sticker in view?? #2

Open grunzybaba opened 8 years ago

grunzybaba commented 8 years ago

Suppose i have finished placing the sticker. How to make the sticker final in the view. I mean removing the resizing border of the sticker??

JoseMiralles commented 8 years ago

You can set the visiblility of "IvBorder", "IvDelete", "IvFlip", and "IvScale" to gone.

IvBorder.setVisibility(View.GONE);

cnkcheung3 commented 8 years ago

Thanks magicomiralles,

I've added a new simple method "setControlsVisibility(boolean)" in stickerView class.

JoseMiralles commented 8 years ago

Awesome!

hardz commented 8 years ago

it's work fine..! how to make it visible for only current editing sticker or text and gone for other views.

like there are 4 views in total , if any of single view shows the editing options(Flip, Rotate, Close) then other three views editing options need to hide..!

grunzybaba commented 8 years ago

.setVisibility(View.GONE) will hide the borders .. but the stickers are still moveable.. What to do in this case

vashisthumesh commented 8 years ago

"setControlsVisibility(boolean)" where should i call this method ????

kinjal444 commented 7 years ago

it only remove last added stickers border using setControlsVisibility(boolean)

Ziaxp commented 7 years ago

No satisfactory answer yet ?

dark1991 commented 7 years ago

Just set mCurrentView.setInEdit(false) is OK