|
@@ -8,10 +8,11 @@
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/ivBg"
|
|
android:id="@+id/ivBg"
|
|
android:src="@mipmap/female_bg"
|
|
android:src="@mipmap/female_bg"
|
|
|
|
+ app:layout_constraintDimensionRatio="h,360:248"
|
|
android:background="@drawable/shape_9ffd88_6ef2df"
|
|
android:background="@drawable/shape_9ffd88_6ef2df"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="248dp"/>
|
|
|
|
|
|
+ android:layout_height="0dp"/>
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
android:id="@+id/ivSetup"
|
|
android:id="@+id/ivSetup"
|
|
@@ -45,6 +46,13 @@
|
|
android:layout_width="50dp"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"/>
|
|
android:layout_height="50dp"/>
|
|
|
|
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/ivSex"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/ivAvatar"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/ivAvatar"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
|
+
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/tvName"
|
|
android:id="@+id/tvName"
|
|
android:maxLines="1"
|
|
android:maxLines="1"
|
|
@@ -84,13 +92,19 @@
|
|
android:layout_height="wrap_content"/>
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:id="@+id/llFollow"
|
|
android:id="@+id/llFollow"
|
|
|
|
+
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/llFans"
|
|
app:layout_constraintBottom_toBottomOf="@+id/ivBg"
|
|
app:layout_constraintBottom_toBottomOf="@+id/ivBg"
|
|
- android:layout_marginStart="20dp"
|
|
|
|
android:layout_marginBottom="40dp"
|
|
android:layout_marginBottom="40dp"
|
|
- android:orientation="horizontal"
|
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ app:layout_constraintHorizontal_chainStyle="spread"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
@@ -105,7 +119,6 @@
|
|
<TextView
|
|
<TextView
|
|
android:textColor="#868686"
|
|
android:textColor="#868686"
|
|
android:textSize="12dp"
|
|
android:textSize="12dp"
|
|
- android:layout_marginStart="5dp"
|
|
|
|
android:text="@string/follow"
|
|
android:text="@string/follow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
android:layout_height="wrap_content"/>
|
|
@@ -115,11 +128,12 @@
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:id="@+id/llFans"
|
|
android:id="@+id/llFans"
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/llFollow"
|
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/llCoin"
|
|
app:layout_constraintBottom_toBottomOf="@+id/ivBg"
|
|
app:layout_constraintBottom_toBottomOf="@+id/ivBg"
|
|
- android:layout_marginStart="120dp"
|
|
|
|
android:layout_marginBottom="40dp"
|
|
android:layout_marginBottom="40dp"
|
|
- android:orientation="horizontal"
|
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
@@ -134,11 +148,140 @@
|
|
<TextView
|
|
<TextView
|
|
android:textColor="#868686"
|
|
android:textColor="#868686"
|
|
android:textSize="12dp"
|
|
android:textSize="12dp"
|
|
- android:layout_marginStart="5dp"
|
|
|
|
android:text="@string/fans"
|
|
android:text="@string/fans"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/llCoin"
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/llFans"
|
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/llDiamonds"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/ivBg"
|
|
|
|
+ android:layout_marginBottom="40dp"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tvCoin"
|
|
|
|
+ android:textSize="24dp"
|
|
|
|
+ android:textColor="#000"
|
|
|
|
+ tools:text="24"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:textColor="#868686"
|
|
|
|
+ android:textSize="12dp"
|
|
|
|
+ android:text="@string/coin"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/llDiamonds"
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/llCoin"
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/ivBg"
|
|
|
|
+ android:layout_marginBottom="40dp"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tvDiamonds"
|
|
|
|
+ android:textSize="24dp"
|
|
|
|
+ android:textColor="#000"
|
|
|
|
+ tools:text="24"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:textColor="#868686"
|
|
|
|
+ android:textSize="12dp"
|
|
|
|
+ android:text="@string/diamond"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:background="@drawable/shape_white_top_20"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/llFollow"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="0dp">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tvLevel"
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
+ android:drawablePadding="5dp"
|
|
|
|
+ android:paddingStart="20dp"
|
|
|
|
+ android:paddingEnd="20dp"
|
|
|
|
+ android:textColor="#000"
|
|
|
|
+ android:textSize="16dp"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:text="@string/my_level"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
+ app:drawableStartCompat="@mipmap/level"
|
|
|
|
+ app:drawableEndCompat="@mipmap/more_small" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tvTopUp"
|
|
|
|
+ android:drawablePadding="5dp"
|
|
|
|
+ android:paddingStart="20dp"
|
|
|
|
+ android:paddingEnd="20dp"
|
|
|
|
+ android:textColor="#000"
|
|
|
|
+ android:textSize="16dp"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:text="@string/top_up_center"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
+ app:drawableStartCompat="@mipmap/level"
|
|
|
|
+ app:drawableEndCompat="@mipmap/more_small" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tvTask"
|
|
|
|
+ android:drawablePadding="5dp"
|
|
|
|
+ android:paddingStart="20dp"
|
|
|
|
+ android:paddingEnd="20dp"
|
|
|
|
+ android:textColor="#000"
|
|
|
|
+ android:textSize="16dp"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:text="@string/task_center"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
+ app:drawableStartCompat="@mipmap/level"
|
|
|
|
+ app:drawableEndCompat="@mipmap/more_small" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tvCustomer"
|
|
|
|
+ android:drawablePadding="5dp"
|
|
|
|
+ android:paddingStart="20dp"
|
|
|
|
+ android:paddingEnd="20dp"
|
|
|
|
+ android:textColor="#000"
|
|
|
|
+ android:textSize="16dp"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:text="@string/contact_service"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="50dp"
|
|
|
|
+ app:drawableStartCompat="@mipmap/level"
|
|
|
|
+ app:drawableEndCompat="@mipmap/more_small" />
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|