|
@@ -76,28 +76,49 @@
|
|
|
android:layout_width="260dp"
|
|
|
android:layout_height="60dp">
|
|
|
|
|
|
- <de.hdodenhof.circleimageview.CircleImageView
|
|
|
- android:id="@+id/ivAvatar"
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/clAvatar"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- android:layout_marginStart="12dp"
|
|
|
- android:layout_width="36dp"
|
|
|
- android:layout_height="36dp"/>
|
|
|
+ android:layout_marginStart="8dp">
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/ivAvatar"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_width="36dp"
|
|
|
+ android:layout_height="36dp"/>
|
|
|
+ <com.opensource.svgaplayer.SVGAImageView
|
|
|
+ android:id="@+id/svgAvatar"
|
|
|
+ android:layout_width="44dp"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:visibility="visible"
|
|
|
+ app:autoPlay="true"
|
|
|
+ app:loopCount="0"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
|
|
|
|
|
|
<com.swago.baseswago.cusview.SwagoLevelView
|
|
|
android:id="@+id/swagoLevel"
|
|
|
android:layout_marginStart="5dp"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/ivAvatar"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/ivAvatar"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/clAvatar"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/clAvatar"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tvName"
|
|
|
app:layout_constraintStart_toEndOf="@+id/swagoLevel"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/ivAvatar"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/clAvatar"
|
|
|
android:layout_marginStart="5dp"
|
|
|
android:layout_marginEnd="20dp"
|
|
|
android:textSize="12dp"
|
|
@@ -110,8 +131,8 @@
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tvJoin"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/ivAvatar"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/ivAvatar"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/clAvatar"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/clAvatar"
|
|
|
android:layout_marginEnd="20dp"
|
|
|
android:layout_marginStart="5dp"
|
|
|
android:textSize="10dp"
|