团队项目--12
个人首页
<?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="match_parent" tools:context=".geren"> <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:background="@drawable/beijing" xmlns:app="http://schemas.android.com/apk/res-auto" > <!--磨砂头像--> <RelativeLayout android:layout_below="@+id/toolbar_fragment_personal" android:id="@+id/relative" android:layout_width="match_parent" android:layout_height="wrap_content"> <ImageView android:id="@+id/h_back" android:layout_width="match_parent" android:layout_height="180dp" app:srcCompat="@drawable/hou" /> <ImageView android:layout_width="80dp" android:layout_height="80dp" android:layout_centerInParent="true" app:srcCompat="@drawable/jzp" /> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignBottom="@id/h_back" android:layout_marginBottom="20dp" android:orientation="horizontal"> <ImageView android:id="@+id/user_line" android:layout_width="1dp" android:layout_height="25dp" android:layout_centerHorizontal="true" android:layout_marginLeft="15dp" android:background="@android:color/black" /> <TextView android:id="@+id/user_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/user_line" android:text="张三" android:textColor="@android:color/black" android:textSize="17sp" /> <TextView android:id="@+id/user_val" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15dp" android:layout_toRightOf="@id/user_line" android:text="*****" android:textColor="@android:color/black" android:textSize="17sp" /> </RelativeLayout> </RelativeLayout> <!--子项--> <LinearLayout android:id="@+id/ll" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#f3d04e"> <LinearLayout android:layout_width="match_parent" android:orientation="horizontal" android:layout_height="60dp"> <ImageView android:id="@+id/imageView5" android:layout_width="50dp" android:layout_height="match_parent" app:srcCompat="@android:drawable/ic_menu_my_calendar" /> <TextView android:text=" 个人姓名" android:textSize="20dp" android:textColor="#000000" android:layout_weight="1" android:layout_marginLeft="12dp" android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="match_parent" /> <ImageButton android:id="@+id/imageButton4" android:layout_width="50dp" android:layout_height="wrap_content" app:srcCompat="@android:drawable/ic_menu_send" /> </LinearLayout> <View android:layout_width="match_parent" android:layout_height="1dp" android:background="#090808"/> <LinearLayout android:layout_width="match_parent" android:orientation="horizontal" android:layout_height="60dp"> <ImageView android:id="@+id/imageView12" android:layout_width="50dp" android:layout_height="match_parent" app:srcCompat="@android:drawable/ic_menu_view" /> <TextView android:text=" 修改密码" android:textSize="20dp" android:textColor="#000000" android:layout_weight="1" android:layout_marginLeft="12dp" android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="match_parent" /> <ImageButton android:id="@+id/imageButton" android:layout_width="50dp" android:layout_height="wrap_content" app:srcCompat="@android:drawable/ic_menu_send" /> </LinearLayout> <View android:layout_width="match_parent" android:layout_height="1dp" android:background="#090808"/> <LinearLayout android:layout_width="match_parent" android:layout_height="60dp" android:orientation="horizontal"> <ImageView android:id="@+id/imageView10" android:layout_width="50dp" android:layout_height="match_parent" app:srcCompat="@android:drawable/ic_menu_search" /> <TextView android:text=" 性 别" android:textSize="20dp" android:textColor="#000000" android:layout_weight="1" android:layout_marginLeft="12dp" android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="match_parent" /> <ImageButton android:id="@+id/imageButton2" android:layout_width="50dp" android:layout_height="wrap_content" app:srcCompat="@android:drawable/ic_menu_send" /> </LinearLayout> <View android:layout_width="match_parent" android:layout_height="1dp" android:background="#090808"/> <LinearLayout android:layout_width="match_parent" android:orientation="horizontal" android:layout_height="60dp"> <ImageView android:id="@+id/imageView8" android:layout_width="50dp" android:layout_height="match_parent" app:srcCompat="@android:drawable/ic_menu_info_details" /> <TextView android:text=" 版本信息" android:textSize="20dp" android:textColor="#000000" android:layout_weight="1" android:layout_marginLeft="12dp" android:gravity="center_vertical" android:layout_width="100dp" android:layout_height="match_parent" /> <ImageButton android:id="@+id/imageButton3" android:layout_width="50dp" android:layout_height="wrap_content" app:srcCompat="@android:drawable/ic_menu_send" /> </LinearLayout> <View android:layout_width="match_parent" android:layout_height="0.5dp" android:background="#090808"/> </LinearLayout> <Button android:id="@+id/btn_quit" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_below="@+id/login_btn_login" android:layout_marginLeft="15dp" android:layout_marginRight="15dp" android:layout_marginTop="10dp" android:background="@drawable/btn" android:text="退出登陆" android:textColor="@color/white" android:textSize="18sp"/> </LinearLayout> </androidx.constraintlayout.widget.ConstraintLayout>
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律