|
|
@@ -0,0 +1,102 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="93dp"
|
|
|
+ android:background="@drawable/profile_content_head"
|
|
|
+ android:paddingHorizontal="16dp">
|
|
|
+
|
|
|
+ <com.adealink.weparty.module.profile.view.UserNameTextView
|
|
|
+ android:id="@+id/user_name_text_view"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:textColor="@color/color_000000"
|
|
|
+ android:textSize="18sp"
|
|
|
+ app:layout_constrainedWidth="true"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/voice_layout"
|
|
|
+ app:layout_constraintHorizontal_bias="0"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ tools:text="Hello" />
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.LinearLayoutCompat
|
|
|
+ android:id="@+id/user_tag_layout"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/user_name_text_view">
|
|
|
+
|
|
|
+ <com.adealink.weparty.module.profile.view.UserCountryView
|
|
|
+ android:id="@+id/user_country_view"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp" />
|
|
|
+
|
|
|
+ <com.adealink.weparty.module.profile.view.UserSexView
|
|
|
+ android:id="@+id/user_sex_view"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ tools:text="Sex" />
|
|
|
+ </androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
+
|
|
|
+ <com.adealink.weparty.module.profile.view.UserIdView
|
|
|
+ android:id="@+id/user_id_view"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ app:id_text_color="@color/color_FF777777"
|
|
|
+ app:id_text_size="12sp"
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/user_name_text_view"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/user_tag_layout"
|
|
|
+ app:show_copy_btn="true" />
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.LinearLayoutCompat
|
|
|
+ android:id="@+id/voice_layout"
|
|
|
+ android:layout_width="105dp"
|
|
|
+ android:layout_height="28dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:background="@drawable/common_195252fc_radius_14_bg"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingStart="4dp"
|
|
|
+ android:paddingEnd="8dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ tools:visibility="visible">
|
|
|
+
|
|
|
+ <androidx.appcompat.widget.AppCompatImageView
|
|
|
+ android:id="@+id/btn_play_voice"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/ic_profile_play_voice" />
|
|
|
+
|
|
|
+ <com.opensource.svgaplayer.WenextSvgaView
|
|
|
+ android:id="@+id/svga_playing"
|
|
|
+ android:layout_width="42dp"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:layout_marginHorizontal="5dp"
|
|
|
+ app:autoPlay="false"
|
|
|
+ app:source="profile_voice_playing_bar.svga" />
|
|
|
+
|
|
|
+ <com.adealink.weparty.commonui.widget.MediumTextView
|
|
|
+ android:id="@+id/tv_voice_duration"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#BA90FD"
|
|
|
+ android:textSize="12sp"
|
|
|
+ tools:text="16s" />
|
|
|
+
|
|
|
+ </androidx.appcompat.widget.LinearLayoutCompat>
|
|
|
+
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+
|