问题
Is there a drag and drop component in android UI ?
回答1:
I think that you have to take a look to the official android developer site at:
Drag and Drop
回答2:
It depends on the API level, an official Drag and Drop framework was introduced in API level 3.0, so if you want to support Android API levels below 3.0 you are largely on your own.
But nevertheless there are many tutorials which help you in achieving what you want.
Here are a few links that I found helpful..
- Vogella (It is for API level 3.0 and above)
- Bahti (This is a three part tutorial and explains the mechanism of drag and drop very well, it also works on API levels less than 3.0)
回答3:
If you use eclipse to develop it has a graphical xml builder that allows you to drag and drop components. Example Eclipse Android Plugin
来源:https://stackoverflow.com/questions/9964010/is-there-a-drag-and-drop-component-in-android-ui