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

Scale row + float view #135

Open
Odaym opened this issue Jan 19, 2015 · 0 comments
Open

Scale row + float view #135

Odaym opened this issue Jan 19, 2015 · 0 comments

Comments

@Odaym
Copy link

Odaym commented Jan 19, 2015

I want to have an animation that scales up the row that is being re-ordered. I placed this code inside startDrag(int, int, int, int) but it is only getting hit after the row has been dropped

View view = getChildAt(position);
PropertyValuesHolder pvhX = PropertyValuesHolder.ofFloat(View.SCALE_X, 1.1f);
PropertyValuesHolder pvhY = PropertyValuesHolder.ofFloat(View.SCALE_Y, 1.1f);
ObjectAnimator scaleAnimation = ObjectAnimator.ofPropertyValuesHolder(view, pvhX, pvhY);
scaleAnimation.start();

Any help would be appreciated!

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

1 participant