StickerView
StickerView copied to clipboard
more than one sticker
Hi,
When I try to add more than stickerview, I can only control one sticker view. How I can apply stickerview on textview?
at StickerView.java, find method: public boolean dispatchTouchEvent(MotionEvent event) , add else part like this:
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
if (isInController(x, y)) {
mInController = true;
mLastPointY = y;
mLastPointX = x;
break;
}
if (isInDelete(x, y)) {
mInDelete = true;
break;
}
if (mContentRect.contains(x, y)) {
mLastPointY = y;
mLastPointX = x;
mInMove = true;
}
else {
// don't touch inside, pass to other view
return false;
}
break;
Great Work! If i use multiple stickers and lets say i try to scale ( stretch)one of the stickers then at certain point the view gets stuck. To put simply if i stretch one of the stickers to the max level, the view gets stuck.
Please let me know a solution around this.
sorry current not support multi stickers。