Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more than one sticker #1

Open
marwanzak opened this issue May 30, 2015 · 3 comments
Open

more than one sticker #1

marwanzak opened this issue May 30, 2015 · 3 comments

Comments

@marwanzak
Copy link

Hi,

When I try to add more than stickerview, I can only control one sticker view.
How I can apply stickerview on textview?

@NtcWai
Copy link

NtcWai commented Sep 3, 2015

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;

@ashishsakarkar2020
Copy link

ashishsakarkar2020 commented Oct 20, 2016

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.

@sangmingming
Copy link
Owner

sorry current not support multi stickers。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants