@@ -1,105 +1,122 @@
<?xml version="1.0" encoding="utf-8"?>
<com.mogo.module.v2x.view.Round ConstraintLayout xmlns:android= "http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget. ConstraintLayout xmlns:android= "http://schemas.android.com/apk/res/android"
xmlns:app= "http://schemas.android.com/apk/res-auto"
xmlns:tools= "http://schemas.android.com/tools"
android:id= "@+id/rlContent"
android:layout_width= "match_parent"
android:layout_height= "wrap_content"
android:background= "#1F2131 "
android:paddingStart= "@dimen/dp_40 "
android:paddingEnd= "@dimen/dp_40"
app:roundLayoutRadius= "@dimen/dp_30" >
android:layout_marginLeft= "10px "
android:layout_marginRight= "10px "
android:layout_marginBottom= "14px" >
<Text View
android:id= "@+id/tagEventType "
android:layout_width= "wrap_cont ent"
<androidx.cardview.widget.Card View
android:id= "@+id/road_case_history_card_view "
android:layout_width= "match_par ent"
android:layout_height= "wrap_content"
android:layout_marginLeft= "@dimen/dp_20 "
android:layout_marginTop= "@dimen/dp_24 "
android:background= "@drawable/bg_v2x_event_type_read"
android:gravity= "center"
android:paddingLeft= "@dimen/dp_10"
android:paddingTop= "@dimen/dp_3"
android:paddingRight= "@dimen/dp_10"
android:paddingBottom= "@dimen/dp_3"
android:text= "违章停车"
android:textColor= "#ffffff"
android:textSize= "@dimen/dp_28"
app:layout_constraintTop_toTopOf= "parent" />
app:cardBackgroundColor= "@color/share_event_item_bg_color "
app:cardCornerRadius= "12px "
app:layout_constraintTop_toTopOf= "parent" >
<TextView
android:id= "@+id/tagEventEvaluate "
android:layout_width = "wrap_content"
android:layout_height= "wrap_content"
android:layout_marginStart= "@dimen/dp_24"
android:background= "@drawable/bg_v2x_event_type_gray"
android:gravity= "center"
android:paddingLeft= "@dimen/dp_10"
android:paddingTop= "@dimen/dp_3"
android:paddingRight= "@dimen/dp_10"
android:paddingBottom= "@dimen/dp_3"
android:text= "待评价"
android:textColor= "#ffffff"
android:textSize= "@dimen/dp_28"
app:layout_constraintBottom_toBottomOf= "@+id/tagEventType"
app:layout_constraintStart_toEndOf= "@+id/tagEventType"
app:layout_constraintTop_toTopOf= "@+id/tagEventType" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width= "match_parent "
android:layout_height = "wrap_content" >
<Image View
android:id= "@+id/ivIconP "
android:layout_width= "@dimen/module_v2x_history_event_icon_size "
android:layout_height= "@dimen/module_v2x_history_event_icon_size "
android:layout_marginEnd = "@dimen/dp_16 "
android:src= "@drawable/icon_illegal_parking "
app:layout_constraintTop_toBottomOf= "@+id/tagE ventT ype"
app:layout_constraintTop_toTopOf= "@+id/tvAddress" />
<Text View
android:id= "@+id/tagEventType "
android:layout_width= "wrap_content "
android:layout_height= "wrap_content "
android:layout_marginStart = "@dimen/dp_24 "
android:layout_marginTop= "@dimen/dp_24 "
android:background= "@drawable/bg_v2x_e vent_t ype_read "
android:gravity= "center"
android:paddingLeft= "@dimen/dp_10"
android:paddingTop= "@dimen/dp_3"
android:paddingRight= "@dimen/dp_10"
android:paddingBottom= "@dimen/dp_3"
android:text= "违章停车"
android:textColor= "#ffffff"
android:textSize= "@dimen/dp_28"
app:layout_constraintLeft_toLeftOf= "parent"
app:layout_constraintTop_toTopOf= "parent" />
<TextView
android:id= "@+id/tvAddress "
android:layout_width= "0dp "
android:layout_height= "wrap_content"
android:layout_marginTop = "@dimen/dp_24"
android:layout_marginRight= "@dimen/dp_30 "
android:ellipsize = "end "
android:maxLines= "1 "
android:textColor= "#FFFFFF "
android:textSize = "@dimen/dp_34 "
app:layout_constraintEnd_toStartOf= "@+id/llIllegalParkingLike "
app:layout_constraintStart_toEndOf= "@+id/ivIconP "
app:layout_constraintTop_toBottomOf= "@+id/tagEventType "
tools:text= "小黄庄北街与北三环辅路交叉口小黄庄北街与北三环辅路交叉口" />
<TextView
android:id= "@+id/tagEventEvaluate "
android:layout_width= "wrap_content "
android:layout_height= "wrap_content"
android:layout_marginStart = "@dimen/dp_24"
android:background= "@drawable/bg_v2x_event_type_gray "
android:gravity = "c enter "
android:paddingLeft= "@dimen/dp_10 "
android:paddingTop= "@dimen/dp_3 "
android:paddingRight = "@dimen/dp_10 "
android:paddingBottom= "@dimen/dp_3 "
android:text= "待评价 "
android:textColor= "#ffffff "
android:textSize= "@dimen/dp_28"
app:layout_constraintBottom_toBottomOf= "@+id/tagEventType"
app:layout_constraintStart_toEndOf= "@+id/tagEventType"
app:layout_constraintTop_toTopOf= "@+id/tagEventType" />
<Text View
android:id= "@+id/t vIllegalNum "
android:layout_width= "0dp "
android:layout_height= "wrap_content "
android:layout_marginTop = "@dimen/dp_10 "
android:layout_marginBottom = "@dimen/dp_24 "
android:alpha= "0.6 "
android:gravity= "center_vertical "
android:textColor= "#FFFFFF "
android:textSize= "@dimen/dp_30"
app:layout_constraintBottom_toBottomOf= "parent"
app:layout_constraintEnd_toEndOf= "@+id/tvAddress"
app:layout_constraintStart_toStartOf= "@+id/tvAddress"
app:layout_constraintTop_toBottomOf= "@+id/tvAddress"
tools:text= "违章人数: 10人" />
<Image View
android:id= "@+id/i vIconP "
android:layout_width= "@dimen/module_v2x_history_event_icon_size "
android:layout_height= "@dimen/module_v2x_history_event_icon_size "
android:layout_marginStart = "@dimen/dp_24 "
android:layout_marginEnd = "@dimen/dp_16 "
android:src= "@drawable/icon_illegal_parking "
app:layout_constraintLeft_toLeftOf= "parent "
app:layout_constraintTop_toBottomOf= "@+id/tagEventType "
app:layout_constraintTop_toTopOf= "@+id/tvAddress" />
<com.mogo.module.v2x.view.HeartLike View
android:id= "@+id/llIllegalParkingLike "
android:layout_width= "wrap_content "
android:layout_height= "wrap_content"
android:layout_marginEnd = "@dimen/dp_40 "
app :layout_constraintBottom_toBottomOf= "parent "
app :layout_constraintEnd_toStartOf= "@+id/llIllegalParkingUnLike "
app:layout_constraintTop_toTopOf= "parent" />
<Text View
android:id= "@+id/tvAddress "
android:layout_width= "0dp "
android:layout_height= "wrap_content"
android:layout_marginStart = "@dimen/dp_2 4"
android :layout_marginTop= "@dimen/dp_24 "
android :layout_marginRight= "@dimen/dp_30 "
android:ellipsize= "end"
android:maxLines= "1"
android:textColor= "#FFFFFF"
android:textSize= "@dimen/dp_34"
app:layout_constraintEnd_toStartOf= "@+id/llIllegalParkingLike"
app:layout_constraintStart_toEndOf= "@+id/ivIconP"
app:layout_constraintTop_toBottomOf= "@+id/tagEventType"
tools:text= "小黄庄北街与北三环辅路交叉口小黄庄北街与北三环辅路交叉口" />
<com.mogo.module.v2x.view.HeartUnLike View
android:id= "@+id/ll IllegalParkingUnLike "
android:layout_width= "wrap_content "
android:layout_height= "wrap_content"
app :layout_constraintBottom_toBottomOf= "parent "
app :layout_constraintEnd_toEndOf= "parent "
app:layout_constraintTop_toTopOf= "parent" />
<Text View
android:id= "@+id/tv IllegalNum "
android:layout_width= "0dp "
android:layout_height= "wrap_content"
android :layout_marginTop= "@dimen/dp_10 "
android :layout_marginBottom= "@dimen/dp_24 "
android:alpha= "0.6"
android:gravity= "center_vertical"
android:textColor= "#FFFFFF"
android:textSize= "@dimen/dp_30"
app:layout_constraintBottom_toBottomOf= "parent"
app:layout_constraintEnd_toEndOf= "@+id/tvAddress"
app:layout_constraintStart_toStartOf= "@+id/tvAddress"
app:layout_constraintTop_toBottomOf= "@+id/tvAddress"
tools:text= "违章人数: 10人" />
</ com.mogo.module.v2x.view.RoundConstraintLayout>
<com.mogo.module.v2x.view.HeartLikeView
android:id= "@+id/llIllegalParkingLike"
android:layout_width= "wrap_content"
android:layout_height= "wrap_content"
android:layout_marginEnd= "@dimen/dp_40"
app:layout_constraintBottom_toBottomOf= "parent"
app:layout_constraintEnd_toStartOf= "@+id/llIllegalParkingUnLike"
app:layout_constraintTop_toTopOf= "parent" />
<com.mogo.module.v2x.view.HeartUnLikeView
android:id= "@+id/llIllegalParkingUnLike"
android:layout_width= "wrap_content"
android:layout_height= "wrap_content"
app:layout_constraintBottom_toBottomOf= "parent"
app:layout_constraintEnd_toEndOf= "parent"
app:layout_constraintTop_toTopOf= "parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>
</androidx.constraintlayout.widget.ConstraintLayout>