|
@@ -83,31 +83,41 @@
|
|
android:layout_width="80dp"
|
|
android:layout_width="80dp"
|
|
android:layout_height="wrap_content"/>
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/ivGiftIcon"
|
|
|
|
- android:src="@mipmap/default_avatar"
|
|
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
+ android:id="@+id/ll_count"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
- android:layout_marginStart="128dp"
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
- android:layout_width="40dp"
|
|
|
|
- android:layout_height="40dp"/>
|
|
|
|
|
|
+ android:layout_marginStart="180dp"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/ivGiftIcon"
|
|
|
|
+ android:src="@mipmap/default_avatar"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ android:layout_width="40dp"
|
|
|
|
+ android:layout_height="40dp"/>
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tvNum"
|
|
|
|
+ android:textSize="18dp"
|
|
|
|
+ android:textColor="#fff"
|
|
|
|
+ android:text="x123456789"
|
|
|
|
+ android:visibility="invisible"
|
|
|
|
+ tools:visibility="visible"
|
|
|
|
+ android:textStyle="bold|italic"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/ivGiftIcon"
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/ll_count"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/ll_count"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
+
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tvNum"
|
|
|
|
- android:textSize="18dp"
|
|
|
|
- android:textColor="#fff"
|
|
|
|
- android:text="x123456789"
|
|
|
|
- android:visibility="invisible"
|
|
|
|
- tools:visibility="visible"
|
|
|
|
- android:layout_marginStart="5dp"
|
|
|
|
- android:textStyle="bold|italic"
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/clContainer"
|
|
|
|
- app:layout_constraintStart_toEndOf="@+id/ivGiftIcon"
|
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/clContainer"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:id="@+id/llNum"
|
|
android:id="@+id/llNum"
|
|
@@ -116,7 +126,7 @@
|
|
android:visibility="invisible"
|
|
android:visibility="invisible"
|
|
tools:visibility="visible"
|
|
tools:visibility="visible"
|
|
app:layout_constraintTop_toTopOf="@+id/clContainer"
|
|
app:layout_constraintTop_toTopOf="@+id/clContainer"
|
|
- app:layout_constraintStart_toEndOf="@+id/ivGiftIcon"
|
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/ll_count"
|
|
app:layout_constraintBottom_toBottomOf="@+id/clContainer"
|
|
app:layout_constraintBottom_toBottomOf="@+id/clContainer"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
android:layout_height="wrap_content">
|