item_member_evaluate.xml 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout xmlns:tools="http://schemas.android.com/tools">
  3. <data>
  4. <variable
  5. name="evaluateBean"
  6. type="com.datarecovery.master.module.member.bean.EvaluateBean" />
  7. </data>
  8. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  9. xmlns:app="http://schemas.android.com/apk/res-auto"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content">
  12. <Space
  13. android:id="@+id/space_top"
  14. android:layout_width="match_parent"
  15. android:layout_height="0dp"
  16. app:layout_constraintDimensionRatio="360:12"
  17. app:layout_constraintTop_toTopOf="parent" />
  18. <ImageView
  19. android:id="@+id/icon_member_evaluate_header"
  20. imageRes="@{evaluateBean.icon}"
  21. radius="@{100}"
  22. android:layout_width="0dp"
  23. android:layout_height="0dp"
  24. android:layout_marginStart="@dimen/app_common_page_horizontal_padding"
  25. app:layout_constraintDimensionRatio="1:1"
  26. app:layout_constraintLeft_toLeftOf="parent"
  27. app:layout_constraintTop_toBottomOf="@+id/space_top"
  28. app:layout_constraintWidth_percent="0.0888888888888889"
  29. tools:src="@drawable/icon_evaluate_1" />
  30. <TextView
  31. android:id="@+id/member_name"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:layout_marginStart="8dp"
  35. android:layout_marginTop="4dp"
  36. android:text="@{evaluateBean.name}"
  37. android:textColor="#202020"
  38. android:textSize="15sp"
  39. android:textStyle="bold"
  40. app:layout_constraintLeft_toRightOf="@+id/icon_member_evaluate_header"
  41. app:layout_constraintTop_toTopOf="@+id/icon_member_evaluate_header"
  42. tools:text="冬季温暖优雅" />
  43. <ImageView
  44. android:id="@+id/iv_star"
  45. android:layout_width="0dp"
  46. android:layout_height="0dp"
  47. android:layout_marginTop="4dp"
  48. android:src="@drawable/icon_star"
  49. app:layout_constraintDimensionRatio="249:42"
  50. app:layout_constraintStart_toStartOf="@+id/member_name"
  51. app:layout_constraintTop_toBottomOf="@+id/member_name"
  52. app:layout_constraintWidth_percent="0.2305555555555556" />
  53. <TextView
  54. android:id="@+id/member_evaluate_content"
  55. android:layout_width="0dp"
  56. android:layout_height="wrap_content"
  57. android:layout_marginTop="8dp"
  58. android:layout_marginEnd="@dimen/app_common_page_horizontal_padding"
  59. android:text="@{evaluateBean.content}"
  60. android:textColor="#404040"
  61. android:textSize="15sp"
  62. app:layout_constraintLeft_toLeftOf="@+id/member_name"
  63. app:layout_constraintRight_toRightOf="parent"
  64. app:layout_constraintTop_toBottomOf="@+id/iv_star"
  65. tools:text="我非常满意数据恢复服务的效果。他们专业的团队帮助我成功恢复了丢失的文件,让我感到非常安心和放心。他们高效的工作速度和专业的技术水平让我对他们的服务印象深刻。强烈推荐!" />
  66. <Space
  67. android:id="@+id/space_bottom"
  68. android:layout_width="match_parent"
  69. android:layout_height="0dp"
  70. app:layout_constraintBottom_toBottomOf="parent"
  71. app:layout_constraintDimensionRatio="360:21"
  72. app:layout_constraintTop_toBottomOf="@+id/member_evaluate_content" />
  73. </androidx.constraintlayout.widget.ConstraintLayout>
  74. </layout>