jncultural/modulemine/src/main/res/layout/fragment_mine_main.xml

118 lines
5.2 KiB
XML
Raw Normal View History

2020-05-27 13:32:22 +08:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2020-07-20 16:36:47 +08:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2020-06-08 10:09:08 +08:00
xmlns:tools="http://schemas.android.com/tools"
2020-05-27 13:32:22 +08:00
android:layout_width="match_parent"
2020-06-08 10:09:08 +08:00
android:layout_height="wrap_content"
2020-05-27 13:32:22 +08:00
android:orientation="vertical">
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
2020-06-08 10:09:08 +08:00
android:layout_height="match_parent"
android:background="@color/white"
2020-05-27 13:32:22 +08:00
android:scrollbars="none">
2020-06-08 10:09:08 +08:00
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="match_parent"
android:layout_height="210dp"
android:background="@drawable/ic_mine_center_bg" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
android:layout_marginTop="190dp"
android:background="@drawable/shape_re_white_top">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="50dp"
android:orientation="vertical">
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
android:id="@+id/tv_nick_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="用户昵称"
android:textColor="#242424"
2020-07-20 16:36:47 +08:00
android:textSize="16sp"
app:text_type_cus="1" />
2020-06-08 10:09:08 +08:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:gravity="center"
android:text="个人简介"
android:textColor="#BBBBBB"
android:textSize="10sp"
android:visibility="gone" />
<View
android:layout_width="match_parent"
android:layout_height="5dp"
android:layout_marginTop="15dp"
android:background="#FBFBFB" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingLeft="15dp">
<View
android:layout_width="3dp"
android:layout_height="14dp"
android:background="@color/app_title" />
<com.sucstepsoft.cm_utils.core.widget.views.TypeFaceTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp"
android:text="常用功能"
android:textColor="#242424"
2020-07-20 16:36:47 +08:00
android:textSize="18sp"
app:text_type_cus="1" />
2020-06-08 10:09:08 +08:00
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rlv_funcs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
</RelativeLayout>
<ImageView
android:id="@+id/iv_user_icon"
android:layout_width="90dp"
android:layout_height="90dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="130dp"
2020-07-20 16:36:47 +08:00
tools:background="@drawable/ic_img_default" />
2020-06-08 10:09:08 +08:00
</RelativeLayout>
2020-05-27 13:32:22 +08:00
</androidx.core.widget.NestedScrollView>
</LinearLayout>