|
@@ -0,0 +1,483 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout 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:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_open_notify_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:background="@color/color_F4EEFF"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:visibility="visible">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="打开通知才可以收到喜欢的人消息哦"
|
|
|
+ android:textColor="@color/color_9C6CFA"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_open_notify"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginEnd="15dp"
|
|
|
+ android:background="@drawable/im_bg_open_notify"
|
|
|
+ android:paddingStart="9.5dp"
|
|
|
+ android:paddingTop="3dp"
|
|
|
+ android:paddingEnd="9.5dp"
|
|
|
+ android:paddingBottom="3dp"
|
|
|
+ android:text="去开启"
|
|
|
+ android:textColor="@color/color_9C6CFA" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="109dp"
|
|
|
+ android:gravity="center_vertical">
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/civ_like_me"
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:src="@drawable/im_ic_top_like_me"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/tv_like_me"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed" />
|
|
|
+
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/civ_like_me_mask"
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:src="#4D9C6BFA"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/civ_like_me"
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/civ_like_me"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/civ_like_me"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/civ_like_me" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_like_me"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="喜欢我的"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="13sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/civ_like_me" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/tv_like_me_number"
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="8dp"
|
|
|
+ android:background="@drawable/im_bg_number"
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/civ_like_me"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/civ_like_me"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/civ_like_me" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/civ_each_like"
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:src="@drawable/im_msg_ic_each_like"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/tv_each_like"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_each_like"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="互相喜欢"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="13sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/civ_each_like" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/civ_live_user"
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:src="@drawable/im_msg_ic_like"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/tv_live_user"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_live_user"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="我喜欢的"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="13sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/civ_live_user" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
+
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/civ_visitor"
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:src="@drawable/im_ic_top_visitor"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/tv_visitor"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintVertical_chainStyle="packed" />
|
|
|
+
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/civ_visitor_mask"
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:src="#4D9C6BFA"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/civ_visitor"
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/civ_visitor"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/civ_visitor"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/civ_visitor" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_visitor"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="访客足迹"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="13sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/civ_visitor" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/tv_visitor_number"
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="8dp"
|
|
|
+ android:background="@drawable/im_bg_number"
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/civ_visitor"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/civ_visitor"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/civ_visitor" />
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:background="@color/color_F7F7F7" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_find_the_boss_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ android:foreground="?android:attr/selectableItemBackground"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:visibility="visible">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_find_the_boss_icon"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:scaleType="centerCrop"
|
|
|
+ android:src="@drawable/main_ic_find_boss" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_toEndOf="@id/iv_find_the_boss_icon"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="发现老板"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:gravity="center_vertical">
|
|
|
+
|
|
|
+ <com.shanp.youqi.common.widget.UQCarouselAvatarView
|
|
|
+ android:id="@+id/dav_avatar"
|
|
|
+ android:layout_width="130dp"
|
|
|
+ android:layout_height="33dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ app:uq_dav_isBlur="false"
|
|
|
+ app:uq_dav_isLastComplete="true"
|
|
|
+ app:uq_dav_isShowAnimation="true"
|
|
|
+ app:uq_dav_maxCount="3"
|
|
|
+ app:uq_dav_radius="16"
|
|
|
+ app:uq_dav_space="0.5" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginStart="75dp"
|
|
|
+ android:background="@color/color_E6E6E6" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_praise_self_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ android:foreground="?android:attr/selectableItemBackground"
|
|
|
+ android:gravity="center_vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_praise_self_icon"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:scaleType="centerCrop"
|
|
|
+ android:src="@drawable/im_ic_interact_message" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_toEndOf="@id/iv_praise_self_icon"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="互动消息"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_praise_self_number"
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="8dp"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginEnd="22dp"
|
|
|
+ android:background="@drawable/im_bg_number_fill"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:layout_marginStart="75dp"
|
|
|
+ android:background="@color/color_E6E6E6" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_order_message_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="80dp"
|
|
|
+ android:foreground="?android:attr/selectableItemBackground"
|
|
|
+ android:gravity="center_vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_order_message_icon"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:scaleType="centerCrop"
|
|
|
+ android:src="@drawable/im_ic_order_message" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_toEndOf="@id/iv_order_message_icon"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="订单消息"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_order_message_number"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginEnd="15dp"
|
|
|
+ android:background="@drawable/im_bg_number_fill"
|
|
|
+ android:gravity="center"
|
|
|
+ android:lines="1"
|
|
|
+ android:paddingStart="6dp"
|
|
|
+ android:paddingTop="1dp"
|
|
|
+ android:paddingEnd="6dp"
|
|
|
+ android:paddingBottom="1dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:visibility="invisible"
|
|
|
+ tools:text="1"
|
|
|
+ tools:visibility="visible" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:layout_marginStart="75dp"
|
|
|
+ android:background="@color/color_E6E6E6" />
|
|
|
+
|
|
|
+ <!-- 友期小助手 -->
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/cl_yq_conversation_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:foreground="?android:attr/selectableItemBackground"
|
|
|
+ android:layout_height="80dp">
|
|
|
+
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/civ_yq_avatar"
|
|
|
+ android:layout_width="50dp"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:src="@drawable/ic_yq_tourists_avatar"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/v_line"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/v_yq_online_state"
|
|
|
+ android:layout_width="12dp"
|
|
|
+ android:layout_height="12dp"
|
|
|
+ android:background="@drawable/im_ic_online_icon"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/civ_yq_avatar"
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/civ_yq_avatar" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_yq_user_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginBottom="3dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="友期小助手"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="16sp"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/tv_yq_last_msg"
|
|
|
+ app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/civ_yq_avatar"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/civ_yq_avatar" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/v_yq_official"
|
|
|
+ android:layout_width="28dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:background="@drawable/im_ic_yq_icon"
|
|
|
+ android:visibility="visible"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/tv_yq_user_name"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/tv_yq_user_name"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/tv_yq_user_name" />
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_yq_last_msg"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:maxWidth="328dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/civ_yq_avatar"
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/tv_yq_msg_count"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/civ_yq_avatar"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/tv_yq_user_name"
|
|
|
+ tools:text="恭喜你,成功的开通了VIP权限特权" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_yq_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="15dp"
|
|
|
+ android:textColor="@color/color_B4B4B4"
|
|
|
+ android:textSize="12sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/tv_yq_user_name"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/tv_yq_user_name"
|
|
|
+ tools:text="刚刚" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_yq_msg_count"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:layout_marginEnd="15dp"
|
|
|
+ android:background="@drawable/bg_msg_unread_num"
|
|
|
+ android:gravity="center"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="12sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/tv_yq_last_msg"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/tv_yq_last_msg"
|
|
|
+ tools:text="12" />
|
|
|
+
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/v_line"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1px"
|
|
|
+ android:layout_marginStart="75dp"
|
|
|
+ android:background="@color/color_E6E6E6"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+</LinearLayout>
|