bauerca / drag-sort-listview

Android ListView with drag and drop reordering.
3.2k stars 1.44k forks source link

Entire child row is acting as drag_id_handle. #131

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hi , my row is composed of one textview and an image view (drag handle).

When I open my listview I cant scroll the listview. The entire row is acting as drag handle. I can drag and drop with textview and image view. Someone please help me to fix it. FYI I'm using the latest code. Here's the listview layout:

<com.mobeta.android.dslv.DragSortListView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:dslv="http://schemas.android.com/apk/lib/com.realtorX" android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="0dp" android:layout_margin="10dp" android:dividerHeight="5dp" android:layout_weight="1" android:divider="#e9e9e9" android:fastScrollEnabled="true" android:paddingBottom="0dp" android:paddingLeft="10dp" android:paddingTop="0dp" dslv:collapsed_height="2dp" dslv:drag_enabled="true" dslv:drag_handle_id="@+id/drag_handle" dslv:drag_scroll_start="0.33" dslv:drag_start_mode="onDown" dslv:float_alpha="0.6" dslv:max_drag_scroll_speed="0.5" dslv:remove_enabled="true" dslv:remove_mode="flingRemove" dslv:slide_shuffle_speed="0.3" dslv:sort_enabled="true" dslv:track_drag_sort="false" dslv:use_default_controller="true" />