fragment_address.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools">
  5. <data>
  6. </data>
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="vertical">
  11. <com.quansu.heifengwuliu.widget.SearchView
  12. android:id="@+id/search"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content">
  15. </com.quansu.heifengwuliu.widget.SearchView>
  16. <FrameLayout
  17. android:id="@+id/lay_body"
  18. android:layout_width="match_parent"
  19. android:layout_height="0dp"
  20. android:layout_marginTop="8dp"
  21. android:layout_weight="1">
  22. <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
  23. android:id="@+id/refresh_layout"
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent">
  26. <androidx.recyclerview.widget.RecyclerView
  27. android:id="@+id/recycler_view"
  28. android:layout_width="match_parent"
  29. android:layout_height="match_parent"
  30. app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
  31. tools:listitem="@layout/item_address" />
  32. </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
  33. <com.quansu.heifengwuliu.view.CircleTextView
  34. android:id="@+id/tv_tip"
  35. android:layout_width="80dp"
  36. android:layout_height="80dp"
  37. android:layout_gravity="center"
  38. android:background="#33555555"
  39. android:gravity="center"
  40. android:textColor="@color/white"
  41. android:textSize="18sp"
  42. android:visibility="gone"
  43. tools:visibility="visible">
  44. </com.quansu.heifengwuliu.view.CircleTextView>
  45. <com.quansu.heifengwuliu.view.SideBar
  46. android:id="@+id/sidebar"
  47. android:layout_width="15dp"
  48. android:layout_height="match_parent"
  49. android:layout_gravity="right|center_vertical"
  50. android:layout_marginTop="20dp"
  51. android:layout_marginRight="6dp"
  52. android:layout_marginBottom="20dp"
  53. android:background="#00000000"
  54. android:paddingLeft="5dp"
  55. android:paddingRight="5dp"
  56. app:sb_tv_color="#0074e6"
  57. app:sb_tv_gap="5dp"
  58. app:sb_tv_size="15sp">
  59. </com.quansu.heifengwuliu.view.SideBar>
  60. </FrameLayout>
  61. <TextView
  62. android:id="@+id/tv_add"
  63. android:layout_width="match_parent"
  64. android:layout_height="50dp"
  65. android:background="#5D76F4"
  66. android:gravity="center"
  67. android:text="添加新地址"
  68. android:textColor="@color/white"
  69. android:textSize="@dimen/sp_16">
  70. </TextView>
  71. </LinearLayout>
  72. </layout>