drag_list_main.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent"
  5. android:background="@android:color/white"
  6. android:orientation="vertical" >
  7. <ScrollView
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent">
  10. <LinearLayout
  11. android:layout_width="fill_parent"
  12. android:layout_height="wrap_content"
  13. android:background="@android:color/white"
  14. android:orientation="vertical" >
  15. <LinearLayout
  16. android:layout_width="fill_parent"
  17. android:layout_height="fill_parent"
  18. android:orientation="vertical" >
  19. <com.pengguichu.testdraglistview.listview.DragListView
  20. android:id="@+id/top_drag_list"
  21. android:layout_width="fill_parent"
  22. android:layout_height="fill_parent"
  23. android:cacheColorHint="#00000000"
  24. android:divider="#e5e5e5"
  25. android:dividerHeight="1px"
  26. android:fadingEdge="none"
  27. android:listSelector="#00000000" />
  28. </LinearLayout>
  29. <LinearLayout
  30. android:layout_width="fill_parent"
  31. android:layout_height="fill_parent"
  32. android:layout_marginTop="20dp"
  33. android:orientation="vertical" >
  34. <com.pengguichu.testdraglistview.listview.BottomDragListView
  35. android:id="@+id/bottom_drag_list"
  36. android:layout_width="fill_parent"
  37. android:layout_height="fill_parent"
  38. android:cacheColorHint="#00000000"
  39. android:divider="#e5e5e5"
  40. android:dividerHeight="1px"
  41. android:fadingEdge="none"
  42. android:listSelector="#00000000" />
  43. </LinearLayout>
  44. </LinearLayout>
  45. </ScrollView>
  46. </LinearLayout>