fragment_external_coordinate.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/layout_content"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="#fff" >
  7. <RelativeLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:background="#9fff" >
  11. <View
  12. android:id="@+id/line1"
  13. android:layout_marginTop="3dp"
  14. style="@style/wide_fill_line" />
  15. <LinearLayout
  16. android:id="@+id/ll_add"
  17. android:layout_width="match_parent"
  18. android:layout_height="35dp"
  19. android:layout_below="@+id/line1"
  20. android:layout_gravity="center_vertical"
  21. android:layout_marginBottom="10dp"
  22. android:layout_marginLeft="15dp"
  23. android:layout_marginRight="15dp"
  24. android:layout_marginTop="10dp"
  25. android:background="@drawable/rounded_corners_search_bg"
  26. android:gravity="center"
  27. android:orientation="horizontal" >
  28. <ImageView
  29. android:id="@+id/ivSearch"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:background="@drawable/ss1"
  33. android:visibility="gone" />
  34. <TextView
  35. android:id="@+id/tvSearch"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:text="新增商品" />
  39. </LinearLayout>
  40. <View
  41. android:id="@+id/line"
  42. style="@style/wide_fill_line"
  43. android:layout_below="@+id/ll_add" />
  44. <ListView
  45. android:id="@+id/listview"
  46. android:layout_width="fill_parent"
  47. android:layout_height="match_parent"
  48. android:layout_above="@id/ll_bottom"
  49. android:layout_below="@id/line"
  50. android:background="@color/white"
  51. android:cacheColorHint="#00000000"
  52. android:descendantFocusability="beforeDescendants"
  53. android:divider="@color/lightgray"
  54. android:dividerHeight="0dp"
  55. android:listSelector="@drawable/list_null"
  56. android:transcriptMode="normal"
  57. android:visibility="visible" >
  58. </ListView>
  59. <LinearLayout
  60. android:id="@+id/ll_no_data"
  61. android:layout_width="match_parent"
  62. android:layout_height="match_parent"
  63. android:layout_below="@id/report_listview"
  64. android:layout_gravity="center_vertical"
  65. android:gravity="center"
  66. android:orientation="vertical"
  67. android:visibility="gone" >
  68. <ImageView
  69. android:layout_width="64dp"
  70. android:layout_height="64dp"
  71. android:background="@drawable/icon_no_data" />
  72. <TextView
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:text="无数据"
  76. android:textSize="@dimen/textsize_22" />
  77. </LinearLayout>
  78. </RelativeLayout>
  79. </FrameLayout>