I'm trying to implement this in my app.
This is the layout I'm using (in reality, it contains more stuff but I've reduced it to this and it still doesn't drop):
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
xmlns:float="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<EditText
android:id="@+id/editReminderContent"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</ScrollView>
</LinearLayout>
...
V/ChecklistViewItemOnDragListener: Dragging item. Action: 1
I/ViewRootImpl[EditReminderActivity]: Reporting drop result: false
V/ChecklistViewItemOnDragListener: Dragging item. Action: 4
...
Behavior: I can create and delete items, then I can drag them but when I drop them they return to their original position.