activity_goods_list.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. <RelativeLayout
  12. android:id="@+id/rela"
  13. android:layout_width="match_parent"
  14. android:layout_height="40dp"
  15. android:layout_below="@+id/titlebar" >
  16. <TextView
  17. android:id="@+id/text"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:layout_centerVertical="true"
  21. android:layout_marginLeft="10dp"
  22. android:text="销售单号:"
  23. android:textColor="@color/black" />
  24. <TextView
  25. android:id="@+id/tv_outcode"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_centerVertical="true"
  29. android:layout_marginRight="10dp"
  30. android:layout_toRightOf="@+id/text"
  31. android:text="0010101010010101"
  32. android:textColor="@color/black" />
  33. <View
  34. style="@style/thin_fill_line"
  35. android:layout_alignParentBottom="true" />
  36. </RelativeLayout>
  37. <LinearLayout
  38. android:layout_width="match_parent"
  39. android:layout_height="match_parent"
  40. android:layout_below="@+id/rela"
  41. android:orientation="vertical" >
  42. <LinearLayout
  43. android:id="@+id/ll_no_data"
  44. android:layout_width="match_parent"
  45. android:layout_height="match_parent"
  46. android:layout_gravity="center_vertical"
  47. android:gravity="center"
  48. android:orientation="vertical"
  49. android:visibility="gone" >
  50. <ImageView
  51. android:layout_width="64dp"
  52. android:layout_height="64dp"
  53. android:background="@drawable/icon_no_data" />
  54. <TextView
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:text="无数据"
  58. android:textSize="@dimen/textsize_22" />
  59. </LinearLayout>
  60. <LinearLayout
  61. android:layout_width="match_parent"
  62. android:layout_height="@dimen/ll_layout_height_0"
  63. android:layout_weight="1"
  64. android:orientation="vertical" >
  65. <ListView
  66. android:id="@+id/listview"
  67. android:layout_width="match_parent"
  68. android:layout_height="match_parent" >
  69. </ListView>
  70. </LinearLayout>
  71. <View
  72. style="@style/thin_fill_line"
  73. android:layout_alignParentBottom="true" />
  74. <LinearLayout
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content"
  77. android:orientation="horizontal" >
  78. <LinearLayout
  79. android:layout_width="match_parent"
  80. android:layout_height="match_parent"
  81. android:layout_weight="1"
  82. android:orientation="horizontal" >
  83. <CheckBox
  84. android:id="@+id/btnCheckall"
  85. android:layout_width="wrap_content"
  86. android:layout_height="wrap_content"
  87. android:layout_gravity="center_vertical"
  88. android:layout_marginLeft="10dp"
  89. android:button="@drawable/checkbox"
  90. android:checked="false" />
  91. <TextView
  92. android:id="@+id/btnCheckalltext"
  93. android:layout_width="wrap_content"
  94. android:layout_height="wrap_content"
  95. android:layout_gravity="center_vertical"
  96. android:layout_marginLeft="3dp"
  97. android:text="全选"
  98. android:textColor="@color/black"
  99. android:textSize="@dimen/textsize_14" />
  100. </LinearLayout>
  101. <LinearLayout
  102. android:layout_width="match_parent"
  103. android:layout_height="wrap_content"
  104. android:layout_weight="1"
  105. android:gravity="right|bottom"
  106. android:orientation="horizontal" >
  107. <Button
  108. android:id="@+id/btnSure"
  109. android:layout_width="110dp"
  110. android:layout_height="50dp"
  111. android:background="@color/oldred"
  112. android:src="@drawable/rounded_corners_search_bg"
  113. android:text="确定"
  114. android:textColor="@color/white" />
  115. </LinearLayout>
  116. </LinearLayout>
  117. </LinearLayout>
  118. </RelativeLayout>