blob: dc77826d3f0781b26c1f5469f2d79c2da627a225 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1">
<View
android:layout_width="fill_parent"
android:layout_height="1px"
android:background="@color/dividerColor"/>
<TextView
android:id="@+id/download_empty"
android:text="@string/download.empty"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="10dip"/>
<com.mobeta.android.dslv.DragSortListView
xmlns:dslv="http://schemas.android.com/apk/res/github.daneren2005.dsub"
android:id="@+id/download_list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:cacheColorHint="#00000000"
dslv:drag_enabled="true"
dslv:collapsed_height="1dp"
dslv:drag_scroll_start="1.0"
dslv:max_drag_scroll_speed="2.0"
dslv:float_alpha="0.6"
dslv:slide_shuffle_speed="0.3"
dslv:track_drag_sort="false"
dslv:use_default_controller="true"
dslv:drag_handle_id="@id/drag_handle"
dslv:sort_enabled="true"
dslv:remove_enabled="false"
dslv:remove_mode="flingRemove"
dslv:drag_start_mode="onLongPress"/>
</LinearLayout>
|