main
parent
ad929e15b1
commit
ccedbc10df
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
#Fri Apr 25 19:53:19 CST 2025
|
||||
#Wed Jun 04 10:47:17 CST 2025
|
||||
gradle.version=8.5
|
||||
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
#Sat May 24 23:39:46 CST 2025
|
||||
java.home=D\:\\Andr\\jbr
|
Binary file not shown.
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
<solid android:color="#222" />
|
||||
<stroke android:width="4dp" android:color="#FFA500" />
|
||||
</shape>
|
After Width: | Height: | Size: 356 B |
@ -1,14 +1,116 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#1C1C1E">
|
||||
android:orientation="vertical"
|
||||
android:background="#1C1C1E"
|
||||
android:padding="24dp">
|
||||
|
||||
<!-- 用户头像和信息区 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingBottom="24dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image_avatar"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:src="@drawable/placeholder_image"
|
||||
android:background="@drawable/avatar_circle_bg"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:paddingStart="16dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="用户名"
|
||||
android:textColor="#FFF"
|
||||
android:textSize="28sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_signature"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="设置页面"
|
||||
android:text="个性签名"
|
||||
android:textColor="#AAA"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 菜单区 -->
|
||||
<View android:layout_width="match_parent" android:layout_height="1dp" android:background="#333" />
|
||||
|
||||
<!-- 个人信息按钮和展开区包裹在一起 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/btn_personal_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="个人信息"
|
||||
android:textColor="#FFF"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<!-- 个人信息展开区 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_personal_detail"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"
|
||||
android:padding="12dp"
|
||||
android:background="#222">
|
||||
<TextView android:id="@+id/tv_gender" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="性别:" android:textColor="#FFF" android:textSize="18sp" />
|
||||
<TextView android:id="@+id/tv_age" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="年龄:" android:textColor="#FFF" android:textSize="18sp" />
|
||||
<TextView android:id="@+id/tv_weight" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="体重:" android:textColor="#FFF" android:textSize="18sp" />
|
||||
<TextView android:id="@+id/tv_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="身高:" android:textColor="#FFF" android:textSize="18sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 账户信息和设置按钮 -->
|
||||
<TextView
|
||||
android:id="@+id/btn_account_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="账户信息"
|
||||
android:textColor="#FFF"
|
||||
android:textSize="20sp" />
|
||||
<TextView
|
||||
android:id="@+id/btn_setting"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="设置"
|
||||
android:textColor="#FFF"
|
||||
android:textSize="24sp"
|
||||
android:layout_gravity="center"/>
|
||||
</FrameLayout>
|
||||
android:textSize="20sp" />
|
||||
<View android:layout_width="match_parent" android:layout_height="1dp" android:background="#333" />
|
||||
|
||||
<View android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" />
|
||||
|
||||
<!-- 注销按钮 -->
|
||||
<TextView
|
||||
android:id="@+id/btn_logout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:gravity="center"
|
||||
android:text="注销"
|
||||
android:textColor="#FF3B30"
|
||||
android:textSize="20sp"
|
||||
android:background="?android:attr/selectableItemBackground" />
|
||||
</LinearLayout>
|
Loading…
Reference in new issue