|
|
@@ -92,15 +92,43 @@
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
<!--评分-->
|
|
|
- <com.adealink.weparty.commonui.widget.EvaluateView
|
|
|
- android:id="@+id/v_evaluate"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/iv_star"
|
|
|
+ android:layout_width="14dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
android:layout_marginStart="12dp"
|
|
|
android:layout_marginTop="5dp"
|
|
|
- app:evaluate_width="10dp"
|
|
|
app:layout_constraintStart_toEndOf="@id/v_barrier_start"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/tv_name" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/tv_name"
|
|
|
+ app:srcCompat="@drawable/common_evaluate_star_selected_ic" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tv_star"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="3dp"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/color_FF1D2129"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/iv_star"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/iv_star"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/iv_star"
|
|
|
+ tools:text="4.2" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatTextView
|
|
|
+ android:id="@+id/tv_comment"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="3dp"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/color_FF86909C"
|
|
|
+ android:textSize="11sp"
|
|
|
+ app:layout_constraintBaseline_toBaselineOf="@id/tv_star"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/tv_star"
|
|
|
+ tools:text="(234评价)" />
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/cl_category"
|
|
|
@@ -111,8 +139,8 @@
|
|
|
android:paddingVertical="2dp"
|
|
|
android:paddingStart="2dp"
|
|
|
android:paddingEnd="6dp"
|
|
|
- app:layout_constraintStart_toStartOf="@id/v_evaluate"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/v_evaluate">
|
|
|
+ app:layout_constraintStart_toStartOf="@id/iv_star"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/iv_star">
|
|
|
|
|
|
<com.adealink.frame.image.view.NetworkImageView
|
|
|
android:id="@+id/iv_category"
|
|
|
@@ -137,6 +165,7 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:includeFontPadding="false"
|
|
|
+ android:layout_marginStart="2dp"
|
|
|
android:singleLine="true"
|
|
|
android:textColor="@color/color_FF4E5969"
|
|
|
android:textSize="11sp"
|