jncultural/modulemine/src/main/res/layout/fragment_mine_main.xml
2022-10-05 10:32:42 +08:00

124 lines
5.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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="wrap_content"
android:orientation="vertical">
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:scrollbars="none">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:layout_width="match_parent"
android:layout_height="240dp"
android:background="@drawable/ic_mine_main_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"
android:textSize="16sp"
app:text_type_cus="1" />
<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">
<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"
android:textSize="18sp"
app:text_type_cus="1" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<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" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:paddingLeft="30dp"
android:text="服务专线:0892-8830972"
android:textColor="@color/text_black_122"
android:textSize="15sp"
android:visibility="gone" />
</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"
tools:background="@drawable/ic_img_loading" />
</RelativeLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>