version:1.0.3
fix: update:基本跳转对接
This commit is contained in:
@@ -12,356 +12,252 @@
|
||||
</data>
|
||||
|
||||
<!--基数3.2,图片宽高直接除-->
|
||||
<!--555*300-->
|
||||
|
||||
<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"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="555dp"
|
||||
android:layout_height="300dp"
|
||||
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">
|
||||
<ImageView
|
||||
android:id="@+id/imageView6"
|
||||
android:layout_width="555dp"
|
||||
android:layout_height="222dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/icon_mine_robot"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<com.xwad.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" />
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout6"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="150dp"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_grxx"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toEndOf="@+id/head_image"
|
||||
android:onClick="onClick"
|
||||
android:orientation="vertical"
|
||||
android:tag="@string/tag_args_xxgrzx">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/rl_grxx"
|
||||
android:layout_width="207dp"
|
||||
android:layout_height="70dp"
|
||||
android:background="@drawable/bg_shape_212562_40"
|
||||
android:onClick="@{click::toLigin}"
|
||||
android:tag="@string/tag_args_xxgrzx"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.xwad.os.view.jxw.util.CircleImageView
|
||||
android:id="@+id/head_image"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:src="@drawable/icon_tx1"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<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="7sp" />
|
||||
|
||||
<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="9sp" />
|
||||
</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="7sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_grade"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="未注册"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="9sp" />
|
||||
</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="7sp" />
|
||||
|
||||
<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="9sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_dj"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="53dp"
|
||||
android:layout_toEndOf="@+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:id="@+id/ll_grxx"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/iv_djjp"
|
||||
android:layout_marginTop="2dp"
|
||||
android:orientation="horizontal">
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:layout_toEndOf="@+id/head_image"
|
||||
android:onClick="onClick"
|
||||
android:orientation="vertical"
|
||||
android:tag="@string/tag_args_xxgrzx"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/ll_dj"
|
||||
app:layout_constraintStart_toEndOf="@+id/head_image"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_x1"
|
||||
android:layout_width="9dp"
|
||||
android:layout_height="9dp"
|
||||
android:background="@drawable/icon_wd_wjx_pre" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="14dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_x2"
|
||||
android:layout_width="9dp"
|
||||
android:layout_height="9dp"
|
||||
android:layout_marginStart="2dp"
|
||||
android:background="@drawable/icon_wd_wjx_pre" />
|
||||
<TextView
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="10dp"
|
||||
android:text="昵 称:"
|
||||
android:textColor="#60ffffff"
|
||||
android:textSize="7sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_x3"
|
||||
android:layout_width="9dp"
|
||||
android:layout_height="9dp"
|
||||
android:layout_marginStart="2dp"
|
||||
android:background="@drawable/icon_wd_wjx_pre" />
|
||||
<TextView
|
||||
android:id="@+id/tv_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
android:singleLine="true"
|
||||
android:text="小九"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="9sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
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="7sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_grade"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="未注册"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="9sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
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="7sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_wlz"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="9sp" />
|
||||
</LinearLayout>
|
||||
</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/ll_dj"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:layout_toEndOf="@+id/ll_grxx"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
<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_marginStart="2dp"
|
||||
android:background="@drawable/icon_wd_wjx_pre" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_x3"
|
||||
android:layout_width="9dp"
|
||||
android:layout_height="9dp"
|
||||
android:layout_marginStart="2dp"
|
||||
android:background="@drawable/icon_wd_wjx_pre" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_xwcd"
|
||||
android:layout_width="104dp"
|
||||
android:layout_height="70dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
android:adjustViewBounds="true"
|
||||
android:onClick="onClick"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/icon_xwcd"
|
||||
android:tag="@string/tag_args_new_xwcd_online"
|
||||
app:layout_constraintStart_toEndOf="@+id/rl_grxx"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="本周累计打卡"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold" />
|
||||
<ImageView
|
||||
android:id="@+id/iv_sjzx"
|
||||
android:layout_width="104dp"
|
||||
android:layout_height="70dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:onClick="onClick"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/icon_sjzx"
|
||||
android:tag="@string/tag_args_new_hemo"
|
||||
app:layout_constraintStart_toEndOf="@+id/iv_xwcd"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="不积小流,无以成江河"
|
||||
android:textColor="#b3b1ca"
|
||||
android:textSize="9sp" />
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:id="@+id/iv_szzs"
|
||||
android:layout_width="104dp"
|
||||
android:layout_height="70dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:onClick="onClick"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/icon_szzs"
|
||||
android:tag="@string/tag_args_new_hemo"
|
||||
app:layout_constraintStart_toEndOf="@+id/iv_sjzx"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/rela_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/constraintLayout6">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/rl_dk"
|
||||
android:id="@+id/gridView_id"
|
||||
style="@style/vertical_style"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginTop="9dp"
|
||||
android:layout_marginEnd="12dp" />
|
||||
|
||||
<com.xwad.os.view.jxw.widget.TreeView
|
||||
android:id="@+id/tree"
|
||||
android:layout_width="178dp"
|
||||
android:layout_height="162dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginStart="19dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<com.xwad.os.view.jxw.widget.DailyTasksView
|
||||
android:id="@+id/ll_mrrw"
|
||||
android:layout_width="272dp"
|
||||
android:layout_height="132dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_toEndOf="@+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_marginStart="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_toEndOf="@+id/rl_grxx"
|
||||
android:background="@drawable/bg_shape_zjxx"
|
||||
android:orientation="vertical"
|
||||
android:paddingStart="12dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="本周错题本"
|
||||
android:textColor="#ffffff"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="31dp"
|
||||
android:text="错题周周清,学习节节高"
|
||||
android:textColor="#60ffffff"
|
||||
android:textSize="9sp" />
|
||||
|
||||
<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="12sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="1dp"
|
||||
android:text="AI精准学"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="8sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="42dp"
|
||||
android:layout_marginStart="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="12sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="1dp"
|
||||
android:text="智能答疑"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="8sp" />
|
||||
</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="12sp" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="1dp"
|
||||
android:text="一课一练"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="8sp" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_scb"
|
||||
android:layout_width="97dp"
|
||||
android:layout_height="72dp"
|
||||
android:layout_below="@+id/ll_mrrw"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_toEndOf="@+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_marginStart="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_toEndOf="@+id/ll_ctb"
|
||||
android:background="@drawable/icon_wd_xwcd"
|
||||
android:onClick="onClick"
|
||||
android:tag="@string/tag_args_new_xwcd_online" />
|
||||
</RelativeLayout>
|
||||
android:layout_height="66dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</layout>
|
||||
Reference in New Issue
Block a user