activity_sales_list.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent"
  11. android:orientation="vertical" >
  12. <include
  13. android:id="@+id/titlebar"
  14. layout="@layout/fragment_title" />
  15. <LinearLayout
  16. android:id="@+id/ll_no_data"
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent"
  19. android:layout_gravity="center_vertical"
  20. android:gravity="center"
  21. android:orientation="vertical"
  22. android:visibility="gone" >
  23. <ImageView
  24. android:layout_width="64dp"
  25. android:layout_height="64dp"
  26. android:background="@drawable/icon_no_data" />
  27. <TextView
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:text="无数据"
  31. android:textSize="@dimen/textsize_22" />
  32. </LinearLayout>
  33. <LinearLayout
  34. android:layout_width="match_parent"
  35. android:layout_height="@dimen/ll_layout_height_0"
  36. android:layout_weight="1"
  37. android:orientation="vertical" >
  38. <com.dongkesoft.ibossmini.utils.XListViewNew
  39. android:id="@+id/inventory_lstview"
  40. android:layout_width="match_parent"
  41. android:layout_height="match_parent"
  42. android:background="@color/white"
  43. android:cacheColorHint="#00000000"
  44. android:divider="@color/lightgray"
  45. android:dividerHeight="10dp"
  46. android:fastScrollEnabled="true"
  47. android:focusable="true"
  48. android:listSelector="@drawable/list_null" >
  49. </com.dongkesoft.ibossmini.utils.XListViewNew>
  50. </LinearLayout>
  51. <LinearLayout
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:orientation="horizontal" >
  55. <LinearLayout
  56. android:layout_width="match_parent"
  57. android:layout_height="match_parent"
  58. android:layout_weight="1"
  59. android:orientation="horizontal" >
  60. <TextView
  61. android:id="@+id/btnCheckalltext"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:layout_gravity="center_vertical"
  65. android:layout_marginLeft="3dp"
  66. android:textColor="@color/black"
  67. android:textSize="@dimen/textsize_14" />
  68. </LinearLayout>
  69. <LinearLayout
  70. android:layout_width="match_parent"
  71. android:layout_height="wrap_content"
  72. android:layout_weight="1"
  73. android:gravity="right|bottom"
  74. android:orientation="horizontal" >
  75. <Button
  76. android:id="@+id/btnSure"
  77. android:layout_width="110dp"
  78. android:layout_height="50dp"
  79. android:background="@color/oldred"
  80. android:src="@drawable/rounded_corners_search_bg"
  81. android:text="确定"
  82. android:textColor="@color/white" />
  83. </LinearLayout>
  84. </LinearLayout>
  85. </LinearLayout>
  86. </RelativeLayout>