drag-sort-listview icon indicating copy to clipboard operation
drag-sort-listview copied to clipboard

Scale row + float view

Open Odaym opened this issue 10 years ago • 0 comments

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!

Odaym avatar Jan 19 '15 15:01 Odaym