activity_reportlist.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="#fff"
  6. android:fitsSystemWindows="true" >
  7. <RelativeLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:background="#9fff" >
  11. <include
  12. android:id="@+id/ll_title"
  13. layout="@layout/fragment_title" />
  14. <LinearLayout
  15. android:id="@+id/ll_search"
  16. android:layout_width="match_parent"
  17. android:layout_height="35dp"
  18. android:layout_below="@id/ll_title"
  19. android:layout_gravity="center_vertical"
  20. android:layout_marginBottom="10dp"
  21. android:layout_marginLeft="15dp"
  22. android:layout_marginRight="15dp"
  23. android:layout_marginTop="10dp"
  24. android:background="@drawable/rounded_corners_search_bg"
  25. android:gravity="center"
  26. android:orientation="horizontal" >
  27. <ImageView
  28. android:id="@+id/ivSearch"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:background="@drawable/ss1"
  32. android:visibility="gone" />
  33. <TextView
  34. android:id="@+id/tvSearch"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:text="搜索" />
  38. </LinearLayout>
  39. <LinearLayout
  40. android:id="@+id/ll_bottom"
  41. android:layout_width="match_parent"
  42. android:layout_height="50dp"
  43. android:layout_alignParentBottom="true"
  44. android:gravity="center"
  45. android:orientation="horizontal" >
  46. <LinearLayout
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:orientation="horizontal" >
  50. <TextView
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:layout_marginLeft="15dp"
  54. android:text="全部"
  55. android:textColor="@color/darkgray" />
  56. <TextView
  57. android:id="@+id/tv_all_follow"
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:textColor="@color/darkgray" />
  61. </LinearLayout>
  62. <LinearLayout
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_marginLeft="3dp"
  66. android:orientation="horizontal" >
  67. <TextView
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content"
  70. android:text="已跟进"
  71. android:textColor="@color/darkgray" />
  72. <TextView
  73. android:id="@+id/tv_followed"
  74. android:layout_width="wrap_content"
  75. android:layout_height="wrap_content"
  76. android:textColor="@color/darkgray" />
  77. </LinearLayout>
  78. <LinearLayout
  79. android:layout_width="wrap_content"
  80. android:layout_height="wrap_content"
  81. android:layout_marginLeft="3dp"
  82. android:orientation="horizontal" >
  83. <TextView
  84. android:layout_width="wrap_content"
  85. android:layout_height="wrap_content"
  86. android:text="未跟进"
  87. android:textColor="@color/darkgray" />
  88. <TextView
  89. android:id="@+id/tv_unfollow"
  90. android:layout_width="wrap_content"
  91. android:layout_height="wrap_content"
  92. android:textColor="@color/darkgray" />
  93. </LinearLayout>
  94. </LinearLayout>
  95. <com.dongkesoft.ibossmini.utils.XListViewNew
  96. android:id="@+id/report_listview"
  97. android:layout_width="fill_parent"
  98. android:layout_height="wrap_content"
  99. android:layout_above="@id/ll_bottom"
  100. android:layout_below="@id/ll_search"
  101. android:background="@color/white"
  102. android:cacheColorHint="#00000000"
  103. android:divider="@color/lightgray"
  104. android:dividerHeight="10dp"
  105. android:fastScrollEnabled="true"
  106. android:focusable="true"
  107. android:listSelector="@drawable/list_null"
  108. android:visibility="visible" >
  109. </com.dongkesoft.ibossmini.utils.XListViewNew>
  110. <LinearLayout
  111. android:id="@+id/ll_no_data"
  112. android:layout_width="match_parent"
  113. android:layout_height="match_parent"
  114. android:layout_below="@id/report_listview"
  115. android:layout_gravity="center_vertical"
  116. android:gravity="center"
  117. android:orientation="vertical"
  118. android:visibility="gone" >
  119. <ImageView
  120. android:layout_width="64dp"
  121. android:layout_height="64dp"
  122. android:background="@drawable/icon_no_data" />
  123. <TextView
  124. android:layout_width="wrap_content"
  125. android:layout_height="wrap_content"
  126. android:text="无数据"
  127. android:textSize="@dimen/textsize_22" />
  128. </LinearLayout>
  129. </RelativeLayout>
  130. <com.dongkesoft.ibossmini.view.GenericDrawerLayout
  131. android:id="@+id/filing_list_activity_drawerlayout"
  132. android:layout_width="match_parent"
  133. android:layout_height="match_parent" />
  134. </FrameLayout>