<?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"
|
android:id="@+id/me_parent"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@drawable/bj">
|
|
<androidx.core.widget.NestedScrollView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:fillViewport="true"
|
android:overScrollMode="never">
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
<!--头部标签-->
|
<RelativeLayout
|
android:id="@+id/title_cl"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/dp_44"
|
android:layout_marginStart="@dimen/dp_16"
|
android:layout_marginTop="@dimen/dp_38"
|
android:layout_marginEnd="@dimen/dp_16"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent">
|
|
<TextView
|
android:id="@+id/me_title_tv"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:text="@string/me"
|
android:textColor="@color/text_E6FFFFFF"
|
android:textSize="@dimen/text_18" />
|
|
|
</RelativeLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:id="@+id/fragment_me_icon_parent_cl"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/dp_13"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@+id/title_cl">
|
|
<ImageView
|
android:id="@+id/fragment_me_icon_iv"
|
android:layout_width="73dp"
|
android:layout_height="73dp"
|
android:background="@drawable/default_image"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent" />
|
|
<TextView
|
android:id="@+id/fragment_me_user_name_tv"
|
android:layout_width="wrap_content"
|
android:layout_height="22dp"
|
android:layout_marginTop="@dimen/dp_16"
|
android:textColor="@color/text_E6FFFFFF"
|
android:textSize="@dimen/text_18"
|
app:layout_constraintEnd_toEndOf="@+id/fragment_me_icon_iv"
|
app:layout_constraintStart_toStartOf="@+id/fragment_me_icon_iv"
|
app:layout_constraintTop_toBottomOf="@+id/fragment_me_icon_iv" />
|
|
<ImageView
|
android:id="@+id/fragment_me_user_name_next_iv"
|
android:layout_width="16dp"
|
android:layout_height="@dimen/dp_16"
|
android:layout_marginStart="3dp"
|
android:src="@drawable/next"
|
app:layout_constraintBottom_toBottomOf="@+id/fragment_me_user_name_tv"
|
app:layout_constraintStart_toEndOf="@+id/fragment_me_user_name_tv"
|
app:layout_constraintTop_toTopOf="@+id/fragment_me_user_name_tv" />
|
|
<TextView
|
android:id="@+id/fragment_me_user_role_tv"
|
android:layout_width="wrap_content"
|
android:layout_height="17dp"
|
android:layout_marginTop="@dimen/dp_11"
|
android:textColor="@color/text_66FFFFFF"
|
android:textSize="@dimen/text_14"
|
app:layout_constraintEnd_toEndOf="@+id/fragment_me_icon_iv"
|
app:layout_constraintStart_toStartOf="@+id/fragment_me_icon_iv"
|
app:layout_constraintTop_toBottomOf="@+id/fragment_me_user_name_tv" />
|
|
<ImageView
|
android:id="@+id/fragment_me_user_role_next_iv"
|
android:layout_width="@dimen/dp_16"
|
android:layout_height="@dimen/dp_16"
|
android:layout_marginStart="3dp"
|
android:src="@drawable/next"
|
app:layout_constraintBottom_toBottomOf="@+id/fragment_me_user_role_tv"
|
app:layout_constraintStart_toEndOf="@+id/fragment_me_user_role_tv"
|
app:layout_constraintTop_toTopOf="@+id/fragment_me_user_role_tv" />
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_marginStart="@dimen/dp_16"
|
android:layout_marginTop="@dimen/dp_20"
|
android:layout_marginEnd="@dimen/dp_16"
|
android:background="@drawable/search_bj_ff333738"
|
android:orientation="vertical"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@+id/fragment_me_icon_parent_cl">
|
<!--设备调试-->
|
<include
|
android:id="@+id/fragment_me_line_device_debug_il"
|
layout="@layout/fragment_me_line" />
|
<!--主账号才显示-->
|
<include
|
android:id="@+id/fragment_me_line_user_management_il"
|
layout="@layout/fragment_me_line" />
|
|
<include
|
android:id="@+id/fragment_me_line_set_il"
|
layout="@layout/fragment_me_line" />
|
<!--关于-->
|
<include
|
android:id="@+id/fragment_me_line_asregards_il"
|
layout="@layout/fragment_me_line" />
|
</LinearLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.core.widget.NestedScrollView>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|