0

A friend asked me to make him a simple drag and drop poll for android. Since I am a beginner on Android, and also with programming in general, i don't know hot to approach such a task. I tried using LayoutParams and TranslateAnimations, but that was a dead end.

Could anyone give me tips or hints(or a easy-to-use library) on how to approach this?

I would like to drag and drop the items - I will only need to drag the items vertically.

Thank You in advance!

Community
  • 1
  • 1
user1506630
  • 375
  • 1
  • 6
  • 14
  • 1
    Have a look at my answer in this post [Detect touch event on a view when dragged over from other view][1]. Regards. [1]: http://stackoverflow.com/questions/12980156/detect-touch-event-on-a-view-when-dragged-over-from-other-view/13505174#13505174 – Luis Nov 22 '12 at 17:53

1 Answers1

2

There are some examples for this:

TouchListView.java

Drag-And-Drop-Android

TouchInterceptor.java