|
@@ -19,7 +19,7 @@
|
|
|
android:layout_marginEnd="16dp"
|
|
|
android:src="@mipmap/bg_edit"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/clAvatar" />
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/ivAvatar" />
|
|
|
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
|
android:id="@+id/tvEdit"
|
|
@@ -37,37 +37,28 @@
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/ivEditBg" />
|
|
|
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
- android:id="@+id/clAvatar"
|
|
|
+
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/ivAvatar"
|
|
|
android:layout_width="50dp"
|
|
|
android:layout_height="50dp"
|
|
|
android:layout_marginStart="16dp"
|
|
|
android:layout_marginTop="66dp"
|
|
|
+ android:src="@mipmap/default_avatar"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" >
|
|
|
- <de.hdodenhof.circleimageview.CircleImageView
|
|
|
- android:id="@+id/ivAvatar"
|
|
|
- android:layout_width="40dp"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:src="@mipmap/default_avatar"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
-
|
|
|
- <com.opensource.svgaplayer.SVGAImageView
|
|
|
- android:id="@+id/svgAvatar"
|
|
|
- android:layout_width="50dp"
|
|
|
- android:layout_height="50dp"
|
|
|
- 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>
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
+ <com.opensource.svgaplayer.SVGAImageView
|
|
|
+ android:id="@+id/svgAvatar"
|
|
|
+ android:layout_width="60dp"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:visibility="visible"
|
|
|
+ app:autoPlay="true"
|
|
|
+ app:loopCount="0"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginTop="60dp"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<com.swago.baseswago.cusview.BoldTextView
|
|
|
android:id="@+id/tvName"
|
|
@@ -78,8 +69,8 @@
|
|
|
android:maxLines="1"
|
|
|
android:textColor="#435568"
|
|
|
android:textSize="20dp"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/clAvatar"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/clAvatar"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/ivAvatar"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/ivAvatar"
|
|
|
tools:text="NickName" />
|
|
|
|
|
|
<com.swago.baseswago.cusview.SwagoLevelView
|
|
@@ -166,8 +157,8 @@
|
|
|
android:maxLines="1"
|
|
|
android:textColor="#868686"
|
|
|
android:textSize="12dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/clAvatar"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/clAvatar"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/ivAvatar"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/ivAvatar"
|
|
|
tools:text="ID:12030747" />
|
|
|
|
|
|
|
|
@@ -181,7 +172,7 @@
|
|
|
app:layout_constraintEnd_toStartOf="@+id/llFans"
|
|
|
app:layout_constraintHorizontal_chainStyle="spread"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/clAvatar">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/ivAvatar">
|
|
|
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
|
android:id="@+id/tvFollowNum"
|
|
@@ -210,7 +201,7 @@
|
|
|
android:orientation="vertical"
|
|
|
app:layout_constraintEnd_toStartOf="@+id/llCoin"
|
|
|
app:layout_constraintStart_toEndOf="@+id/llFollow"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/clAvatar">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/ivAvatar">
|
|
|
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
|
android:id="@+id/tvFansNum"
|
|
@@ -239,7 +230,7 @@
|
|
|
android:orientation="vertical"
|
|
|
app:layout_constraintEnd_toStartOf="@+id/llDiamonds"
|
|
|
app:layout_constraintStart_toEndOf="@+id/llFans"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/clAvatar">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/ivAvatar">
|
|
|
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
|
android:id="@+id/tvCoin"
|
|
@@ -268,7 +259,7 @@
|
|
|
android:orientation="vertical"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintStart_toEndOf="@+id/llCoin"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/clAvatar">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/ivAvatar">
|
|
|
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
|
android:id="@+id/tvDiamonds"
|