|
@@ -25,32 +25,34 @@
|
|
|
android:layout_height="@dimen/rc_conversation_portrait_size"
|
|
|
app:qmui_corner_radius="@dimen/dp_6"
|
|
|
android:scaleType="centerCrop" />
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
+ app:layout_constraintCircleAngle="45"
|
|
|
+ app:layout_constraintCircleRadius="28dp"
|
|
|
+ app:layout_constraintCircle="@+id/rc_conversation_portrait_rl"
|
|
|
+ android:id="@+id/rc_conversation_unread"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:layout_alignParentEnd="true">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/rc_conversation_unread"
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/rc_conversation_unread_bg"
|
|
|
+ android:layout_width="16dp"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ app:srcCompat="@drawable/rc_unread_count_bg_normal" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/rc_conversation_unread_count"
|
|
|
+ style="@style/TextStyle.Alignment"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentTop="true"
|
|
|
- android:layout_alignParentEnd="true">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/rc_conversation_unread_bg"
|
|
|
- android:layout_width="16dp"
|
|
|
- android:layout_height="16dp"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- app:srcCompat="@drawable/rc_unread_count_bg_normal" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/rc_conversation_unread_count"
|
|
|
- style="@style/TextStyle.Alignment"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:text="15"
|
|
|
- android:textColor="@color/rc_white_color"
|
|
|
- android:textSize="@dimen/rc_font_auxiliary_size" />
|
|
|
- </RelativeLayout>
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:text="15"
|
|
|
+ android:textColor="@color/rc_white_color"
|
|
|
+ android:textSize="@dimen/rc_font_auxiliary_size" />
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<TextView
|