adapter_item_cusview_model_view_d.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. android:layout_width="309dp"
  5. android:layout_height="260dp"
  6. android:layout_gravity="center"
  7. android:paddingLeft="10dp"
  8. android:paddingRight="10dp">
  9. <ImageView
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:background="@drawable/model_view_d_item_btn_bt"></ImageView>
  13. <ImageView
  14. android:id="@+id/adapter_item_cusview_model_view_d_icon"
  15. android:layout_width="258dp"
  16. android:layout_height="145dp"
  17. android:layout_marginTop="10dp"
  18. android:background="@color/red"
  19. android:scaleType="fitXY"
  20. app:layout_constraintEnd_toEndOf="parent"
  21. app:layout_constraintStart_toStartOf="parent"
  22. app:layout_constraintTop_toTopOf="parent"></ImageView>
  23. <TextView
  24. android:id="@+id/adapter_item_cusview_model_view_d_name"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:layout_marginTop="12dp"
  28. android:text="春夏秋冬"
  29. android:textColor="#314051"
  30. android:textSize="18dp"
  31. app:layout_constraintEnd_toEndOf="parent"
  32. app:layout_constraintHorizontal_bias="0.0"
  33. app:layout_constraintStart_toStartOf="@+id/adapter_item_cusview_model_view_d_icon"
  34. app:layout_constraintTop_toBottomOf="@+id/adapter_item_cusview_model_view_d_icon"></TextView>
  35. <LinearLayout
  36. android:id="@+id/linearLayout2"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_marginTop="12dp"
  40. android:orientation="horizontal"
  41. app:layout_constraintEnd_toEndOf="@+id/adapter_item_cusview_model_view_d_icon"
  42. app:layout_constraintHorizontal_bias="1.0"
  43. app:layout_constraintStart_toStartOf="@+id/adapter_item_cusview_model_view_d_icon"
  44. app:layout_constraintTop_toBottomOf="@+id/adapter_item_cusview_model_view_d_icon">
  45. <TextView
  46. android:id="@+id/adapter_item_cusview_model_view_d_contestant"
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:text="123123123"
  50. android:textColor="#77CE6A"
  51. android:textSize="18dp"></TextView>
  52. <TextView
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:text="参与"
  56. android:textColor="#999999"
  57. android:textSize="18dp"></TextView>
  58. </LinearLayout>
  59. <com.edufound.reader.cusview.RoundFrameLayout
  60. android:id="@+id/adapter_item_cusview_model_view_d_ranklist"
  61. android:layout_width="96dp"
  62. android:layout_height="25dp"
  63. android:background="#6BADFF"
  64. app:layout_constraintBottom_toBottomOf="parent"
  65. app:layout_constraintEnd_toEndOf="parent"
  66. app:layout_constraintHorizontal_bias="0.1"
  67. app:layout_constraintStart_toStartOf="parent"
  68. app:layout_constraintTop_toBottomOf="@+id/linearLayout2"
  69. app:layout_constraintVertical_bias="0.26999998"
  70. app:radio="10">
  71. <TextView
  72. android:layout_width="match_parent"
  73. android:layout_height="match_parent"
  74. android:gravity="center"
  75. android:text="查看排行榜"
  76. android:textColor="#FFFFFF"
  77. android:textSize="12dp"></TextView>
  78. </com.edufound.reader.cusview.RoundFrameLayout>
  79. <com.edufound.reader.cusview.RoundFrameLayout
  80. android:id="@+id/adapter_item_cusview_model_view_d_enter"
  81. android:layout_width="96dp"
  82. android:layout_height="25dp"
  83. android:background="#32C965"
  84. app:layout_constraintBottom_toBottomOf="parent"
  85. app:layout_constraintEnd_toEndOf="parent"
  86. app:layout_constraintHorizontal_bias="0.9"
  87. app:layout_constraintStart_toStartOf="parent"
  88. app:layout_constraintTop_toBottomOf="@+id/linearLayout2"
  89. app:layout_constraintVertical_bias="0.29000002"
  90. app:radio="10">
  91. <TextView
  92. android:layout_width="match_parent"
  93. android:layout_height="match_parent"
  94. android:gravity="center"
  95. android:text="立即参赛"
  96. android:textColor="#FFFFFF"
  97. android:textSize="12dp"></TextView>
  98. </com.edufound.reader.cusview.RoundFrameLayout>
  99. </androidx.constraintlayout.widget.ConstraintLayout>