|
@@ -1,6 +1,7 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<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:layout_width="match_parent"
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
@@ -11,23 +12,43 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/ivMessage"
|
|
|
- android:layout_marginStart="10dp"
|
|
|
- android:background="@drawable/shape_80000000_20"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- android:src="@mipmap/live_message"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:layout_width="40dp"
|
|
|
- android:layout_height="40dp"/>
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/clMessage"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ android:layout_marginTop="@dimen/dp_10">
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ivMessage"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:background="@drawable/shape_80000000_20"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ android:src="@mipmap/live_message"
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="40dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tvNum"
|
|
|
+ android:layout_width="12dp"
|
|
|
+ android:layout_height="12dp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:textColor="#fff"
|
|
|
+ tools:text="1"
|
|
|
+ android:textSize="8sp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:background="@drawable/shape_d54941_circle"/>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/ivShare"
|
|
|
android:layout_marginStart="16dp"
|
|
|
android:background="@drawable/shape_80000000_20"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/ivMessage"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/clMessage"
|
|
|
android:src="@mipmap/live_share"
|
|
|
android:padding="6dp"
|
|
|
android:layout_marginTop="@dimen/dp_10"
|