From 0e2325fbddacb5e776a1f1392623e3175f9d03ff Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 05 十二月 2024 17:13:53 +0800
Subject: [PATCH] 2024年12月05日17:13:52

---
 app/src/main/res/layout/fragment_me.xml |   87 +++++++++++++++++++++++++++----------------
 1 files changed, 54 insertions(+), 33 deletions(-)

diff --git a/app/src/main/res/layout/fragment_me.xml b/app/src/main/res/layout/fragment_me.xml
index 83a2a84..a507662 100644
--- a/app/src/main/res/layout/fragment_me.xml
+++ b/app/src/main/res/layout/fragment_me.xml
@@ -57,47 +57,68 @@
                     app:layout_constraintStart_toStartOf="parent"
                     app:layout_constraintTop_toTopOf="parent" />
 
-                <TextView
-                    android:id="@+id/fragment_me_user_name_tv"
-                    android:layout_width="wrap_content"
-                    android:layout_height="22dp"
+                <!--鏄剧ず鐢ㄦ埛鍚嶇О-->
+                <LinearLayout
+                    android:id="@+id/user_name_ll"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="@dimen/dp_16"
                     android:layout_marginTop="@dimen/dp_16"
-                    android:textColor="@color/text_E6FFFFFF"
-                    android:textSize="@dimen/text_18"
+                    android:layout_marginEnd="@dimen/dp_16"
+                    android:gravity="center"
+                    android:orientation="horizontal"
                     app:layout_constraintEnd_toEndOf="@+id/fragment_me_icon_iv"
                     app:layout_constraintStart_toStartOf="@+id/fragment_me_icon_iv"
-                    app:layout_constraintTop_toBottomOf="@+id/fragment_me_icon_iv" />
+                    app:layout_constraintTop_toBottomOf="@+id/fragment_me_icon_iv">
 
-                <ImageView
-                    android:id="@+id/fragment_me_user_name_next_iv"
-                    android:layout_width="16dp"
-                    android:layout_height="@dimen/dp_16"
-                    android:layout_marginStart="3dp"
-                    android:src="@drawable/next"
-                    app:layout_constraintBottom_toBottomOf="@+id/fragment_me_user_name_tv"
-                    app:layout_constraintStart_toEndOf="@+id/fragment_me_user_name_tv"
-                    app:layout_constraintTop_toTopOf="@+id/fragment_me_user_name_tv" />
+                    <TextView
+                        android:id="@+id/fragment_me_user_name_tv"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:gravity="end|center_vertical"
+                        android:paddingStart="@dimen/dp_0"
+                        android:paddingEnd="@dimen/dp_3"
+                        android:textColor="@color/text_E6FFFFFF"
+                        android:textSize="@dimen/text_18" />
 
-                <TextView
-                    android:id="@+id/fragment_me_user_role_tv"
-                    android:layout_width="wrap_content"
-                    android:layout_height="17dp"
-                    android:layout_marginTop="@dimen/dp_11"
-                    android:textColor="@color/text_66FFFFFF"
-                    android:textSize="@dimen/text_14"
+                    <ImageView
+                        android:id="@+id/fragment_me_user_name_next_iv"
+                        android:layout_width="16dp"
+                        android:layout_height="@dimen/dp_16"
+                        android:src="@drawable/next" />
+                </LinearLayout>
+                <!--鏄剧ず鐢ㄦ埛璐﹀彿-->
+                <LinearLayout
+                    android:id="@+id/account_ll"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginStart="@dimen/dp_16"
+                    android:layout_marginTop="4.5dp"
+                    android:layout_marginEnd="@dimen/dp_16"
+                    android:gravity="center"
+                    android:orientation="horizontal"
                     app:layout_constraintEnd_toEndOf="@+id/fragment_me_icon_iv"
                     app:layout_constraintStart_toStartOf="@+id/fragment_me_icon_iv"
-                    app:layout_constraintTop_toBottomOf="@+id/fragment_me_user_name_tv" />
+                    app:layout_constraintTop_toBottomOf="@+id/user_name_ll">
 
-                <ImageView
-                    android:id="@+id/fragment_me_user_role_next_iv"
-                    android:layout_width="@dimen/dp_16"
-                    android:layout_height="@dimen/dp_16"
-                    android:layout_marginStart="3dp"
-                    android:src="@drawable/next"
-                    app:layout_constraintBottom_toBottomOf="@+id/fragment_me_user_role_tv"
-                    app:layout_constraintStart_toEndOf="@+id/fragment_me_user_role_tv"
-                    app:layout_constraintTop_toTopOf="@+id/fragment_me_user_role_tv" />
+                    <TextView
+                        android:id="@+id/fragment_me_user_role_tv"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:gravity="end|center_vertical"
+                        android:paddingStart="@dimen/dp_0"
+                        android:paddingEnd="@dimen/dp_3"
+                        android:textColor="@color/text_66FFFFFF"
+                        android:textSize="@dimen/text_14" />
+
+                    <ImageView
+                        android:id="@+id/fragment_me_user_role_next_iv"
+                        android:layout_width="@dimen/dp_16"
+                        android:layout_height="@dimen/dp_16"
+                        android:src="@drawable/next" />
+                </LinearLayout>
+
+
             </androidx.constraintlayout.widget.ConstraintLayout>
 
             <LinearLayout

--
Gitblit v1.8.0