drag and drop - Slide effect of element with finger on Android -


i trying find out best approach sliding effect of element on screen on android device.

i read drag , drop of elements, not sure correct approach or should go canvas.

or should use events ontouch, , enter logic move elements.

i looking solution make "sliding" smooth.

the thing want make moving of elements in matrix, simple slide. (for example, if slide on 50% of width of element, want element slide automatically new position).

thanks!

i found out should correct way of solving this.

i decided go swipe gestures , implement ongesturelistener , there found lot of interesting methods.

that class can found here: http://developer.android.com/reference/android/view/gesturedetector.html


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -