fragment_me.xml 12.1 KB
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:background="#F4F6F8"
    >

    <androidx.constraintlayout.widget.Group
        android:id="@+id/group_1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:constraint_referenced_ids="iv_toux,tv_name,tv_phone,view_2,tv_title,iv_21,iv_22,iv_23,tv_21,tv_22,tv_23"
        android:visibility="gone"
        />

    <View
        android:id="@+id/view_1"
        android:layout_width="match_parent"
        android:layout_height="44dp"
        app:layout_constraintTop_toTopOf="parent"
        android:background="@android:color/white"
        />
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="个人中心"
        android:textColor="#333333"
        android:textSize="18dp"
        app:layout_constraintLeft_toLeftOf="@id/view_1"
        app:layout_constraintRight_toRightOf="@id/view_1"
        app:layout_constraintTop_toTopOf="@id/view_1"
        app:layout_constraintBottom_toBottomOf="@id/view_1"
        />

    <ImageView
        android:id="@+id/iv_bann"
        android:layout_width="345dp"
        android:layout_height="167dp"
        android:background="@mipmap/smdlaa"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:layout_marginTop="63dp"
        android:visibility="visible"
        />

    <ImageView
        android:id="@+id/iv_toux"
        android:layout_width="57dp"
        android:layout_height="57dp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:layout_marginLeft="15dp"
        android:layout_marginTop="63dp"
        android:background="@mipmap/txz"
        />

    <TextView
        android:id="@+id/tv_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:layout_marginLeft="88dp"
        android:layout_marginTop="72dp"
        android:textSize="20dp"
        android:textColor="#333333"
        android:text="名字"
        />
    <TextView
        android:id="@+id/tv_phone"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:layout_marginLeft="88dp"
        android:layout_marginTop="98dp"
        android:textColor="#999999"
        android:textSize="17dp"
        android:text="1231223123"
        />



    <View
        android:id="@+id/view_2"
        android:layout_width="345dp"
        android:layout_height="140dp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:layout_marginTop="140dp"
        android:background="@drawable/bg_solid_white_10"
        />

    <TextView
        android:id="@+id/tv_title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="学生"
        android:textColor="#333333"
        android:textSize="16dp"
        app:layout_constraintLeft_toLeftOf="@id/view_2"
        app:layout_constraintTop_toTopOf="@id/view_2"
        android:layout_marginLeft="15dp"
        android:layout_marginTop="15dp"
        />

    <ImageView
        android:id="@+id/iv_21"
        android:layout_width="56dp"
        android:layout_height="56dp"
        android:background="@mipmap/tjxss"
        app:layout_constraintLeft_toLeftOf="@id/view_2"
        app:layout_constraintTop_toTopOf="@id/view_2"
        android:layout_marginLeft="15dp"
        android:layout_marginTop="44dp"
        />
    <TextView
        android:id="@+id/tv_21"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintLeft_toLeftOf="@id/iv_21"
        app:layout_constraintRight_toRightOf="@id/iv_21"
        app:layout_constraintTop_toBottomOf="@id/iv_21"
        android:layout_marginTop="10dp"
        android:textColor="#000000"
        android:textSize="13dp"
        android:text="添加学生"
        />
    <ImageView
        android:id="@+id/iv_22"
        android:layout_width="56dp"
        android:layout_height="56dp"
        android:background="@mipmap/tjxss"
        app:layout_constraintLeft_toLeftOf="@id/view_2"
        app:layout_constraintTop_toTopOf="@id/view_2"
        android:layout_marginLeft="144dp"
        android:layout_marginTop="44dp"
        />
    <TextView
        android:id="@+id/tv_22"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintLeft_toLeftOf="@id/iv_22"
        app:layout_constraintRight_toRightOf="@id/iv_22"
        app:layout_constraintTop_toBottomOf="@id/iv_22"
        android:layout_marginTop="10dp"
        android:textColor="#000000"
        android:textSize="13dp"
        android:text="添加学生"
        />
    <ImageView
        android:id="@+id/iv_23"
        android:layout_width="56dp"
        android:layout_height="56dp"
        android:background="@mipmap/tjxss"
        app:layout_constraintLeft_toLeftOf="@id/view_2"
        app:layout_constraintTop_toTopOf="@id/view_2"
        android:layout_marginLeft="274dp"
        android:layout_marginTop="44dp"
        />
    <TextView
        android:id="@+id/tv_23"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintLeft_toLeftOf="@id/iv_23"
        app:layout_constraintRight_toRightOf="@id/iv_23"
        app:layout_constraintTop_toBottomOf="@id/iv_23"
        android:layout_marginTop="10dp"
        android:textColor="#000000"
        android:textSize="13dp"
        android:text="添加学生"
        />









    <View
        android:id="@+id/view_3"
        android:layout_width="345dp"
        android:layout_height="45dp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_goneMarginTop="241dp"
        app:layout_constraintTop_toBottomOf="@id/view_2"
        android:layout_marginTop="15dp"
        android:background="@drawable/bg_solid_white_10_top"
        />
    <ImageView
        android:layout_width="6.8dp"
        android:layout_height="12dp"
        android:background="@mipmap/ycaj"
        app:layout_constraintTop_toTopOf="@id/view_3"
        app:layout_constraintBottom_toBottomOf="@id/view_3"
        app:layout_constraintRight_toRightOf="@id/view_3"
        android:layout_marginRight="15dp"
        />
    <ImageView
        android:layout_width="14dp"
        android:layout_height="14dp"
        app:layout_constraintTop_toTopOf="@id/view_3"
        app:layout_constraintBottom_toBottomOf="@id/view_3"
        app:layout_constraintLeft_toLeftOf="@id/view_3"
        android:layout_marginLeft="15dp"
        android:background="@mipmap/szz"
        />

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="#333333"
        android:textSize="15dp"
        android:text="账户设置"
        app:layout_constraintTop_toTopOf="@id/view_3"
        app:layout_constraintBottom_toBottomOf="@id/view_3"
        app:layout_constraintLeft_toLeftOf="@id/view_3"
        android:layout_marginLeft="40dp"
        />
    <View
        android:id="@+id/view_4"
        android:layout_width="345dp"
        android:layout_height="45dp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toBottomOf="@id/view_3"
        android:background="@android:color/white"
        />
    <ImageView
        android:layout_width="6.8dp"
        android:layout_height="12dp"
        android:background="@mipmap/ycaj"
        app:layout_constraintTop_toTopOf="@id/view_4"
        app:layout_constraintBottom_toBottomOf="@id/view_4"
        app:layout_constraintRight_toRightOf="@id/view_4"
        android:layout_marginRight="15dp"
        />
    <ImageView
        android:layout_width="14dp"
        android:layout_height="14dp"
        app:layout_constraintTop_toTopOf="@id/view_4"
        app:layout_constraintBottom_toBottomOf="@id/view_4"
        app:layout_constraintLeft_toLeftOf="@id/view_4"
        android:layout_marginLeft="15dp"
        android:background="@mipmap/yincs"
        />

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="#333333"
        android:textSize="15dp"
        android:text="隐私设置"
        app:layout_constraintTop_toTopOf="@id/view_4"
        app:layout_constraintBottom_toBottomOf="@id/view_4"
        app:layout_constraintLeft_toLeftOf="@id/view_4"
        android:layout_marginLeft="40dp"
        />

    <View
        android:id="@+id/view_5"
        android:layout_width="345dp"
        android:layout_height="45dp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toBottomOf="@id/view_4"
        android:background="@android:color/white"
        />
    <ImageView
        android:layout_width="6.8dp"
        android:layout_height="12dp"
        android:background="@mipmap/ycaj"
        app:layout_constraintTop_toTopOf="@id/view_5"
        app:layout_constraintBottom_toBottomOf="@id/view_5"
        app:layout_constraintRight_toRightOf="@id/view_5"
        android:layout_marginRight="15dp"
        />
    <ImageView
        android:layout_width="14dp"
        android:layout_height="14dp"
        app:layout_constraintTop_toTopOf="@id/view_5"
        app:layout_constraintBottom_toBottomOf="@id/view_5"
        app:layout_constraintLeft_toLeftOf="@id/view_5"
        android:layout_marginLeft="15dp"
        android:background="@mipmap/gywmm"
        />

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="#333333"
        android:textSize="15dp"
        android:text="关于我们"
        app:layout_constraintTop_toTopOf="@id/view_5"
        app:layout_constraintBottom_toBottomOf="@id/view_5"
        app:layout_constraintLeft_toLeftOf="@id/view_5"
        android:layout_marginLeft="40dp"
        />
    <View
        android:id="@+id/view_6"
        android:layout_width="345dp"
        android:layout_height="45dp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toBottomOf="@id/view_5"
        android:background="@drawable/bg_solid_white_10_bottom"
        />

    <ImageView
        android:layout_width="14dp"
        android:layout_height="14dp"
        app:layout_constraintTop_toTopOf="@id/view_6"
        app:layout_constraintBottom_toBottomOf="@id/view_6"
        app:layout_constraintLeft_toLeftOf="@id/view_6"
        android:layout_marginLeft="15dp"
        android:background="@mipmap/banb"
        />

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="#333333"
        android:textSize="15dp"
        android:text="当前版本"
        app:layout_constraintTop_toTopOf="@id/view_6"
        app:layout_constraintBottom_toBottomOf="@id/view_6"
        app:layout_constraintLeft_toLeftOf="@id/view_6"
        android:layout_marginLeft="40dp"
        />
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="#333333"
        android:textSize="15dp"
        android:text="V1.0"
        app:layout_constraintTop_toTopOf="@id/view_6"
        app:layout_constraintBottom_toBottomOf="@id/view_6"
        app:layout_constraintRight_toRightOf="@id/view_6"
        android:layout_marginRight="15dp"
        />


</androidx.constraintlayout.widget.ConstraintLayout>