How to use view.setX () method in Android version less than 3.0

I want to implement a drag and drop function, but the device version is 2.2.1, so the application does not work. I use the onTouch method and set the coordinate using setx () and setY (), but this method does not work on my version of the device, please tell me how you can implement this thanks in advance

+3
source share
3 answers

The Unfortunatelly Android Support Package does not contain the new Drag-n-Drop from API 11 (Android 3.0), probably because it will need platform-side changes.

Android 2.1 Launcher. . ListView drag-n-drop. , .

+1

Android < 3.0, , .

, .

0

All Articles