|
|
@@ -3,16 +3,22 @@
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="98dp"
|
|
|
+ android:layout_height="104dp"
|
|
|
android:background="@color/white">
|
|
|
|
|
|
+ <View
|
|
|
+ android:id="@+id/bottom_divider"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="6dp"
|
|
|
+ android:background="@color/color_FFF7F7F7"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
|
|
<FrameLayout
|
|
|
android:id="@+id/avatar_layout"
|
|
|
android:layout_width="78dp"
|
|
|
android:layout_height="78dp"
|
|
|
android:layout_marginStart="14dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/bottom_divider"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
@@ -22,6 +28,20 @@
|
|
|
android:layout_height="66dp"
|
|
|
android:layout_gravity="center" />
|
|
|
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/iv_in_room"
|
|
|
+ android:layout_width="71dp"
|
|
|
+ android:layout_height="71dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/ic_in_room_avatar_border" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/iv_in_room_fg"
|
|
|
+ android:layout_width="66dp"
|
|
|
+ android:layout_height="66dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:background="@drawable/ic_in_room_avatar_border_fg" />
|
|
|
+
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
android:id="@+id/iv_online"
|
|
|
android:layout_width="10dp"
|
|
|
@@ -30,6 +50,7 @@
|
|
|
android:layout_marginTop="8dp"
|
|
|
android:layout_marginEnd="13dp"
|
|
|
android:background="@drawable/common_online_ic" />
|
|
|
+
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
@@ -71,11 +92,40 @@
|
|
|
app:layout_constraintStart_toEndOf="@+id/avatar_layout"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_user_name">
|
|
|
|
|
|
- <androidx.appcompat.widget.LinearLayoutCompat
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
- </androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
+ <com.adealink.weparty.module.profile.view.UserCountryView
|
|
|
+ android:id="@+id/user_country_view"
|
|
|
+ android:layout_width="16dp"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <com.adealink.weparty.module.profile.view.UserSexView
|
|
|
+ android:id="@+id/user_sex_view"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="15dp"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/user_country_view"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <com.adealink.frame.image.view.NetworkImageView
|
|
|
+ android:id="@+id/iv_svip_level"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="18dp"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintDimensionRatio="376:148"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/user_sex_view"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
</HorizontalScrollView>
|
|
|
|
|
|
@@ -87,7 +137,7 @@
|
|
|
android:textColor="@color/color_AAAAAA"
|
|
|
android:textSize="11sp"
|
|
|
app:layout_constrainedWidth="true"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/bottom_divider"
|
|
|
app:layout_constraintEnd_toStartOf="@+id/barrier_right"
|
|
|
app:layout_constraintHorizontal_bias="0"
|
|
|
app:layout_constraintStart_toEndOf="@+id/avatar_layout"
|
|
|
@@ -107,7 +157,7 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginEnd="16dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/bottom_divider"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|