StickerView icon indicating copy to clipboard operation
StickerView copied to clipboard

I am trying to draw a sticker at specific position on the PhotoView or Image. How do I do that?

Open KanikaKachhawaha opened this issue 6 years ago • 2 comments

For instance, I have used a Face++ sdk to detect face landmarks in an image. Now I want to add an eyebrow sticker on the obtained eyebrow landmarks over the PhotoView.

KanikaKachhawaha avatar Jun 25 '18 10:06 KanikaKachhawaha

RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams( ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT); params.addRule(RelativeLayout.CENTER_IN_PARENT, RelativeLayout.TRUE); parentView.addView(StickerView, params);

Try This

Ashusolanki avatar Jul 10 '18 07:07 Ashusolanki

@Ashusolanki where do we have to put this code?

hammadpirzada1 avatar Sep 15 '18 18:09 hammadpirzada1