39 lines
1.4 KiB
XML
39 lines
1.4 KiB
XML
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:dslv="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent" >
|
|
|
|
<com.mobeta.android.dslv.DragSortListView
|
|
android:id="@android:id/list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
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:float_background_color="?attr/dragview_float_background"
|
|
dslv:use_default_controller="true" />
|
|
|
|
<TextView
|
|
android:id="@id/android:empty"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:text="@string/no_items_label" />
|
|
|
|
<LinearLayout android:id="@+id/undobar" style="@style/UndoBar">
|
|
<TextView android:id="@+id/undobar_message" style="@style/UndoBarMessage" />
|
|
<Button android:id="@+id/undobar_button" style="@style/UndoBarButton" />
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|