Android : Button fling animating background

on Wednesday, March 18, 2015


I have a OnTouchListener which uses onFling() to determine when user is flinging/swiping the view. now I would like to animate the background of the view according to current x position of onTouch(), how can I accomplish this?


Exmaple gif: enter image description here


0 comments:

Post a Comment