activity_pending_amount_layout.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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. android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <include
  8. android:id="@+id/toolbar_include"
  9. layout="@layout/common_toolbar_layout"
  10. app:layout_constraintLeft_toLeftOf="parent"
  11. app:layout_constraintRight_toRightOf="parent"
  12. app:layout_constraintTop_toTopOf="parent" />
  13. <View
  14. android:id="@+id/view_top"
  15. android:layout_width="match_parent"
  16. android:layout_height="92dp"
  17. android:layout_marginStart="14dp"
  18. android:layout_marginTop="10dp"
  19. android:layout_marginEnd="14dp"
  20. android:background="@drawable/shape_bg_pending_amount_top"
  21. app:layout_constraintTop_toBottomOf="@+id/toolbar_include" />
  22. <TextView
  23. android:id="@+id/tv_amount_value"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_marginStart="20dp"
  27. android:layout_marginTop="20dp"
  28. android:includeFontPadding="false"
  29. android:text="0"
  30. android:textColor="@color/color_00876e"
  31. android:textSize="@dimen/sp_28"
  32. android:textStyle="bold"
  33. app:layout_constraintLeft_toLeftOf="@+id/view_top"
  34. app:layout_constraintTop_toTopOf="@+id/view_top"
  35. tools:text="280.00" />
  36. <TextView
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_marginTop="6dp"
  40. android:drawableLeft="@drawable/icon_pending_amount_tip"
  41. android:drawablePadding="4dp"
  42. android:gravity="center"
  43. android:includeFontPadding="false"
  44. android:text="待入账金额(元)"
  45. android:textColor="@color/color_00876e"
  46. android:textSize="@dimen/sp_13"
  47. app:layout_constraintLeft_toLeftOf="@+id/tv_amount_value"
  48. app:layout_constraintTop_toBottomOf="@+id/tv_amount_value" />
  49. <ImageView
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_marginEnd="10dp"
  53. android:src="@drawable/icon_pending_amount_top"
  54. app:layout_constraintBottom_toBottomOf="@+id/view_top"
  55. app:layout_constraintRight_toRightOf="@+id/view_top"
  56. app:layout_constraintTop_toTopOf="@+id/view_top" />
  57. <RelativeLayout
  58. android:id="@+id/rl_filter"
  59. android:layout_width="match_parent"
  60. android:layout_height="wrap_content"
  61. app:layout_constraintTop_toBottomOf="@+id/view_top">
  62. <TextView
  63. android:id="@+id/tv_date"
  64. android:layout_width="wrap_content"
  65. android:layout_height="@dimen/dp_40"
  66. android:layout_marginLeft="14dp"
  67. android:drawableRight="@drawable/icon_arrow_down"
  68. android:drawablePadding="5dp"
  69. android:gravity="center"
  70. android:text="2021年9月"
  71. android:textColor="@color/black_333"
  72. android:textSize="@dimen/sp_14" />
  73. <TextView
  74. android:id="@+id/tv_income_type"
  75. android:layout_width="wrap_content"
  76. android:layout_height="@dimen/dp_40"
  77. android:layout_marginLeft="145dp"
  78. android:drawableRight="@drawable/icon_arrow_down"
  79. android:gravity="center"
  80. android:text="全部类型"
  81. android:textColor="@color/black_333"
  82. android:textSize="@dimen/sp_14"
  83. android:visibility="visible" />
  84. </RelativeLayout>
  85. <com.scwang.smart.refresh.layout.SmartRefreshLayout
  86. android:id="@+id/refreshLayout"
  87. android:layout_width="match_parent"
  88. android:layout_height="0dp"
  89. app:layout_constraintBottom_toBottomOf="parent"
  90. app:layout_constraintLeft_toLeftOf="parent"
  91. app:layout_constraintRight_toRightOf="parent"
  92. app:layout_constraintTop_toBottomOf="@+id/rl_filter">
  93. <androidx.recyclerview.widget.RecyclerView
  94. android:id="@+id/recyclerView"
  95. android:layout_width="match_parent"
  96. android:layout_height="match_parent"
  97. android:overScrollMode="never"
  98. android:scrollbars="none" />
  99. </com.scwang.smart.refresh.layout.SmartRefreshLayout>
  100. </androidx.constraintlayout.widget.ConstraintLayout>