个人碎片优化

This commit is contained in:
2026-06-25 10:43:51 +08:00
parent 0672d762c9
commit 4462ba5ba2
2 changed files with 7 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ class PersonalFragment : Fragment() {
.titleBar(binding.headerLayout)
.init()
Glide.with(this)
.load(R.mipmap.img)
.load("")
.circleCrop()
.into(binding.ivAvatar)
binding.headerLayout.setOnClickListener {
@@ -267,6 +267,7 @@ class PersonalFragment : Fragment() {
} else {
getString(R.string.member)
}
binding.tvRoleTag.visibility = View.VISIBLE
}
}

View File

@@ -41,7 +41,7 @@
android:id="@+id/tvNickname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/enter_nickname"
android:text=""
android:textColor="@color/black"
android:textSize="16dp"
android:textStyle="bold" />
@@ -54,10 +54,11 @@
android:background="@drawable/rounded_blue_bg"
android:gravity="center"
android:paddingHorizontal="8dp"
android:text="@string/admin"
android:text=""
android:textColor="@color/white"
android:textSize="11sp"
android:textStyle="bold" />
android:textStyle="bold"
android:visibility="gone"/>
</LinearLayout>
<TextView
@@ -65,7 +66,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:text="13589898989"
android:text=""
android:textColor="#666666"
android:textSize="16dp" />
</LinearLayout>