367 lines
16 KiB
XML
367 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout 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"
|
|
tools:context=".fragment.mine.MineFragment">
|
|
|
|
<data>
|
|
|
|
<variable
|
|
name="click"
|
|
type="com.handuan.os.fragment.mine.MineFragment.BtnClick" />
|
|
</data>
|
|
|
|
<!--基数3.2,图片宽高直接除-->
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="horizontal"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rl_grxx"
|
|
android:layout_width="272dp"
|
|
android:layout_height="62dp"
|
|
android:background="@drawable/bg_shape_212562_40"
|
|
android:onClick="onClick"
|
|
android:tag="@string/tag_args_xxgrzx">
|
|
|
|
<com.handuan.os.view.jxw.util.CircleImageView
|
|
android:id="@+id/head_image"
|
|
android:layout_width="34dp"
|
|
android:layout_height="34dp"
|
|
android:layout_margin="12dp"
|
|
android:src="@drawable/icon_tx1" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_grxx"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toRightOf="@+id/head_image"
|
|
android:onClick="onClick"
|
|
android:orientation="vertical"
|
|
android:tag="@string/tag_args_xxgrzx">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="14dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="28dp"
|
|
android:layout_height="10dp"
|
|
android:text="昵称:"
|
|
android:textColor="#60ffffff"
|
|
android:textSize="7dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="marquee"
|
|
android:singleLine="true"
|
|
android:text="小九"
|
|
android:textColor="@color/white"
|
|
android:textSize="9dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="14dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="28dp"
|
|
android:layout_height="10dp"
|
|
android:text="年级:"
|
|
android:textColor="#60ffffff"
|
|
android:textSize="7dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_grade"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="未注册"
|
|
android:textColor="@color/white"
|
|
android:textSize="9dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="14dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="28dp"
|
|
android:layout_height="10dp"
|
|
android:text="学力值:"
|
|
android:textColor="#60ffffff"
|
|
android:textSize="7dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_wlz"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="0"
|
|
android:textColor="@color/white"
|
|
android:textSize="9dp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_dj"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="53dp"
|
|
android:layout_toRightOf="@+id/ll_grxx"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_djjp"
|
|
android:layout_width="32dp"
|
|
android:layout_height="34dp"
|
|
android:background="@drawable/icon_wd_zs" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_wjx"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/iv_djjp"
|
|
android:layout_marginTop="2dp"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_x1"
|
|
android:layout_width="9dp"
|
|
android:layout_height="9dp"
|
|
android:background="@drawable/icon_wd_wjx_pre" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_x2"
|
|
android:layout_width="9dp"
|
|
android:layout_height="9dp"
|
|
android:layout_marginLeft="2dp"
|
|
android:background="@drawable/icon_wd_wjx_pre" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_x3"
|
|
android:layout_width="9dp"
|
|
android:layout_height="9dp"
|
|
android:layout_marginLeft="2dp"
|
|
android:background="@drawable/icon_wd_wjx_pre" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="272dp"
|
|
android:layout_height="226dp"
|
|
android:layout_below="@+id/rl_grxx"
|
|
android:layout_marginTop="12dp"
|
|
android:background="@drawable/bg_shape_212562_40"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/tv_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginTop="12dp"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="本周累计打卡"
|
|
android:textColor="@color/white"
|
|
android:textSize="12dp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginLeft="5dp"
|
|
android:text="不积小流,无以成江河"
|
|
android:textColor="#b3b1ca"
|
|
android:textSize="9dp" />
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rl_dk"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginTop="9dp"
|
|
android:layout_marginRight="12dp" />
|
|
|
|
<com.handuan.os.view.jxw.widget.TreeView
|
|
android:id="@+id/tree"
|
|
android:layout_width="178dp"
|
|
android:layout_height="162dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginLeft="19dp" />
|
|
</LinearLayout>
|
|
|
|
<com.handuan.os.view.jxw.widget.DailyTasksView
|
|
android:id="@+id/ll_mrrw"
|
|
android:layout_width="272dp"
|
|
android:layout_height="132dp"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_toRightOf="@+id/rl_grxx"
|
|
android:orientation="vertical" />
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/ll_ctb"
|
|
android:layout_width="162dp"
|
|
android:layout_height="156dp"
|
|
android:layout_below="@+id/ll_mrrw"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_toRightOf="@+id/rl_grxx"
|
|
android:background="@drawable/bg_shape_zjxx"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="12dp">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:text="本周错题本"
|
|
android:textColor="#ffffff"
|
|
android:textSize="12dp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="31dp"
|
|
android:text="错题周周清,学习节节高"
|
|
android:textColor="#60ffffff"
|
|
android:textSize="9dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="67dp"
|
|
android:layout_height="42dp"
|
|
android:layout_marginTop="56dp"
|
|
android:background="@drawable/bg_shape_d9d9d9_20"
|
|
android:gravity="center"
|
|
android:onClick="onClick"
|
|
android:orientation="vertical"
|
|
android:tag="@string/taf_args_zjx_ctb">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_jzx_count"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="0"
|
|
android:textColor="@color/white"
|
|
android:textSize="12dp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="1dp"
|
|
android:text="AI精准学"
|
|
android:textColor="@color/white"
|
|
android:textSize="8dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="67dp"
|
|
android:layout_height="42dp"
|
|
android:layout_marginLeft="72dp"
|
|
android:layout_marginTop="56dp"
|
|
android:background="@drawable/bg_shape_d9d9d9_20"
|
|
android:gravity="center"
|
|
android:onClick="onClick"
|
|
android:orientation="vertical"
|
|
android:tag="@string/taf_args_souti_ctb">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_zndy_count"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="0"
|
|
android:textColor="@color/white"
|
|
android:textSize="12dp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="1dp"
|
|
android:text="智能答疑"
|
|
android:textColor="@color/white"
|
|
android:textSize="8dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="138dp"
|
|
android:layout_height="42dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="102dp"
|
|
android:background="@drawable/bg_shape_d9d9d9_20"
|
|
android:gravity="center"
|
|
android:onClick="onClick"
|
|
android:orientation="vertical"
|
|
android:tag="@string/taf_args_tbfd_ctb">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_ykyl_count"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="0"
|
|
android:textColor="@color/white"
|
|
android:textSize="12dp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="1dp"
|
|
android:text="一课一练"
|
|
android:textColor="@color/white"
|
|
android:textSize="8dp" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_scb"
|
|
android:layout_width="97dp"
|
|
android:layout_height="72dp"
|
|
android:layout_below="@+id/ll_mrrw"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_toRightOf="@+id/ll_ctb"
|
|
android:background="@drawable/icon_wd_scb"
|
|
android:onClick="onClick"
|
|
android:tag="@string/tag_args_new_scb" />
|
|
|
|
<ImageView
|
|
android:layout_width="97dp"
|
|
android:layout_height="72dp"
|
|
android:layout_below="@+id/iv_scb"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_toRightOf="@+id/ll_ctb"
|
|
android:background="@drawable/icon_wd_xwcd"
|
|
android:onClick="onClick"
|
|
android:tag="@string/tag_args_new_xwcd_online" />
|
|
</RelativeLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</layout> |