farhad.kargaran
farhad.kargaran

Reputation: 2373

adding sticker to a zoomed imageView

I developed an app that can add stickers to image with resize, flip and rotate functionality for stickers. now I want to be able to zoom on image(for example with touchImageView) and add sticker to image and when zooming out image sticker remain in correct postition on image!! PicsArt android app do it very nice.

how can I handle that? any suggestion?

Upvotes: 0

Views: 1011

Answers (1)

Aqib Ali
Aqib Ali

Reputation: 1

Use a Zoomable ImageView: Implement a zoomable ImageView, such as TouchImageView, which allows users to zoom in and out of the image. This provides the foundation for zoom functionality.

Sticker Positioning: When a sticker is added, store its position relative to the original image size. For example, store the sticker's coordinates as percentages of the image width and height.

Upvotes: 0

Related Questions