activity_enter_goods_list.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/white"
  7. android:fitsSystemWindows="true" >
  8. <include
  9. android:id="@+id/titlebar"
  10. layout="@layout/fragment_title" />
  11. <LinearLayout
  12. android:layout_below="@+id/titlebar"
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"
  15. android:orientation="vertical" >
  16. <LinearLayout
  17. android:id="@+id/ll_no_data"
  18. android:layout_width="match_parent"
  19. android:layout_height="match_parent"
  20. android:layout_gravity="center_vertical"
  21. android:gravity="center"
  22. android:orientation="vertical"
  23. android:visibility="gone" >
  24. <ImageView
  25. android:layout_width="64dp"
  26. android:layout_height="64dp"
  27. android:background="@drawable/icon_no_data" />
  28. <TextView
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:text="无数据"
  32. android:textSize="@dimen/textsize_22" />
  33. </LinearLayout>
  34. <LinearLayout
  35. android:layout_width="match_parent"
  36. android:layout_height="@dimen/ll_layout_height_0"
  37. android:layout_weight="1"
  38. android:orientation="vertical" >
  39. <com.dongkesoft.ibossmini.utils.XListViewNew
  40. android:id="@+id/listview"
  41. android:layout_width="fill_parent"
  42. android:layout_height="wrap_content"
  43. android:layout_above="@id/ll_bottom"
  44. android:background="@color/white"
  45. android:cacheColorHint="#00000000"
  46. android:divider="@color/lightgray"
  47. android:dividerHeight="0dp"
  48. android:fastScrollEnabled="true"
  49. android:focusable="true"
  50. android:listSelector="@drawable/list_null"
  51. android:visibility="visible" >
  52. </com.dongkesoft.ibossmini.utils.XListViewNew>
  53. </LinearLayout>
  54. <View
  55. style="@style/thin_fill_line"
  56. android:layout_alignParentBottom="true" />
  57. <LinearLayout
  58. android:layout_width="match_parent"
  59. android:layout_height="wrap_content"
  60. android:orientation="horizontal" >
  61. <LinearLayout
  62. android:layout_width="match_parent"
  63. android:layout_height="match_parent"
  64. android:layout_weight="1"
  65. android:orientation="horizontal" >
  66. <CheckBox
  67. android:id="@+id/btnCheckall"
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content"
  70. android:layout_gravity="center_vertical"
  71. android:layout_marginLeft="10dp"
  72. android:button="@drawable/checkbox"
  73. android:checked="false" />
  74. <TextView
  75. android:id="@+id/btnCheckalltext"
  76. android:layout_width="wrap_content"
  77. android:layout_height="wrap_content"
  78. android:layout_gravity="center_vertical"
  79. android:layout_marginLeft="3dp"
  80. android:text="全选"
  81. android:textColor="@color/black"
  82. android:textSize="@dimen/textsize_14" />
  83. </LinearLayout>
  84. <LinearLayout
  85. android:layout_width="match_parent"
  86. android:layout_height="wrap_content"
  87. android:layout_weight="1"
  88. android:gravity="right|bottom"
  89. android:orientation="horizontal" >
  90. <Button
  91. android:id="@+id/btnSure"
  92. android:layout_width="110dp"
  93. android:layout_height="50dp"
  94. android:background="@color/oldred"
  95. android:src="@drawable/rounded_corners_search_bg"
  96. android:text="确定"
  97. android:textColor="@color/white" />
  98. </LinearLayout>
  99. </LinearLayout>
  100. </LinearLayout>
  101. </RelativeLayout>