MotionViews-Android
MotionViews-Android copied to clipboard
How to set sticker on predefine location using dp or px?
You already user PointF but i want to use dp or px so, Is there any method in library to set location of text sticker place at predife location which is in dp or px?
Di you find any solution for this issue?
Call entity.moveCenterTo like so:
val entity = ImageEntity(layer, pica, motionView.width, motionView.height)
motionView.addEntityAndPosition(entity)
entity.moveCenterTo(PointF(motionView.width * 0.2f, motionView.height * 0.2f))