|
@@ -19,7 +19,7 @@
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:src="@mipmap/bg_edit"
|
|
android:src="@mipmap/bg_edit"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
- app:layout_constraintTop_toTopOf="@+id/ivAvatar" />
|
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/clAvatar" />
|
|
|
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
android:id="@+id/tvEdit"
|
|
android:id="@+id/tvEdit"
|
|
@@ -37,16 +37,38 @@
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/ivEditBg" />
|
|
app:layout_constraintTop_toBottomOf="@+id/ivEditBg" />
|
|
|
|
|
|
-
|
|
|
|
- <de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
- android:id="@+id/ivAvatar"
|
|
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
+ android:id="@+id/clAvatar"
|
|
android:layout_width="50dp"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="66dp"
|
|
android:layout_marginTop="66dp"
|
|
- android:src="@mipmap/default_avatar"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
- app:layout_constraintTop_toTopOf="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:source="avatar.svga"
|
|
|
|
+ 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.BoldTextView
|
|
<com.swago.baseswago.cusview.BoldTextView
|
|
android:id="@+id/tvName"
|
|
android:id="@+id/tvName"
|
|
@@ -57,8 +79,8 @@
|
|
android:maxLines="1"
|
|
android:maxLines="1"
|
|
android:textColor="#435568"
|
|
android:textColor="#435568"
|
|
android:textSize="20dp"
|
|
android:textSize="20dp"
|
|
- app:layout_constraintStart_toEndOf="@+id/ivAvatar"
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/ivAvatar"
|
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/clAvatar"
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/clAvatar"
|
|
tools:text="NickName" />
|
|
tools:text="NickName" />
|
|
|
|
|
|
<com.swago.baseswago.cusview.SwagoLevelView
|
|
<com.swago.baseswago.cusview.SwagoLevelView
|
|
@@ -145,8 +167,8 @@
|
|
android:maxLines="1"
|
|
android:maxLines="1"
|
|
android:textColor="#868686"
|
|
android:textColor="#868686"
|
|
android:textSize="12dp"
|
|
android:textSize="12dp"
|
|
- app:layout_constraintBottom_toBottomOf="@+id/ivAvatar"
|
|
|
|
- app:layout_constraintStart_toEndOf="@+id/ivAvatar"
|
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/clAvatar"
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/clAvatar"
|
|
tools:text="ID:12030747" />
|
|
tools:text="ID:12030747" />
|
|
|
|
|
|
|
|
|
|
@@ -160,7 +182,7 @@
|
|
app:layout_constraintEnd_toStartOf="@+id/llFans"
|
|
app:layout_constraintEnd_toStartOf="@+id/llFans"
|
|
app:layout_constraintHorizontal_chainStyle="spread"
|
|
app:layout_constraintHorizontal_chainStyle="spread"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
- app:layout_constraintTop_toBottomOf="@+id/ivAvatar">
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/clAvatar">
|
|
|
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
android:id="@+id/tvFollowNum"
|
|
android:id="@+id/tvFollowNum"
|
|
@@ -189,7 +211,7 @@
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
app:layout_constraintEnd_toStartOf="@+id/llCoin"
|
|
app:layout_constraintEnd_toStartOf="@+id/llCoin"
|
|
app:layout_constraintStart_toEndOf="@+id/llFollow"
|
|
app:layout_constraintStart_toEndOf="@+id/llFollow"
|
|
- app:layout_constraintTop_toBottomOf="@+id/ivAvatar">
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/clAvatar">
|
|
|
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
android:id="@+id/tvFansNum"
|
|
android:id="@+id/tvFansNum"
|
|
@@ -218,7 +240,7 @@
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
app:layout_constraintEnd_toStartOf="@+id/llDiamonds"
|
|
app:layout_constraintEnd_toStartOf="@+id/llDiamonds"
|
|
app:layout_constraintStart_toEndOf="@+id/llFans"
|
|
app:layout_constraintStart_toEndOf="@+id/llFans"
|
|
- app:layout_constraintTop_toBottomOf="@+id/ivAvatar">
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/clAvatar">
|
|
|
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
android:id="@+id/tvCoin"
|
|
android:id="@+id/tvCoin"
|
|
@@ -247,7 +269,7 @@
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/llCoin"
|
|
app:layout_constraintStart_toEndOf="@+id/llCoin"
|
|
- app:layout_constraintTop_toBottomOf="@+id/ivAvatar">
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/clAvatar">
|
|
|
|
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
<com.swago.baseswago.cusview.MediumTextView
|
|
android:id="@+id/tvDiamonds"
|
|
android:id="@+id/tvDiamonds"
|