562 lines
27 KiB
XML
562 lines
27 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.english.EnglishFragment">
|
|
|
|
<data>
|
|
|
|
<variable
|
|
name="click"
|
|
type="com.xwad.os.fragment.english.EnglishFragment.BtnClick" />
|
|
</data>
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
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/ll_zjx"
|
|
android:layout_width="375dp"
|
|
android:layout_height="300dp"
|
|
android:background="@drawable/icon_yw_zjx_l"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_tab_tbjzx"
|
|
android:layout_width="109dp"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_tab_tbjzx"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="7dp"
|
|
android:text="AI同步精准学"
|
|
android:textColor="#b3b1ca"
|
|
android:textSize="11dp"
|
|
android:visibility="gone" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_tab_tbjzx"
|
|
android:layout_width="83dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@drawable/icon_yw_tbjzx" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_tab_dyfx"
|
|
android:layout_width="97dp"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_tab_dyfx"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="7dp"
|
|
android:text="AI单元复习"
|
|
android:textColor="#b3b1ca"
|
|
android:textSize="11dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_tab_dyfx"
|
|
android:layout_width="80dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@drawable/icon_yw_dyfx"
|
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_tab_jdbk"
|
|
android:layout_width="89dp"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_tab_jdbk"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="7dp"
|
|
android:text="AI阶段备考"
|
|
android:textColor="#b3b1ca"
|
|
android:textSize="11dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_tab_jdbk"
|
|
android:layout_width="80dp"
|
|
android:layout_height="27dp"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@drawable/icon_yw_aijdbk"
|
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_tbjzx"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="50dp"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="150dp"
|
|
android:layout_height="125dp"
|
|
android:background="@drawable/icon_yw_tbdd_bg"
|
|
android:paddingLeft="8dp">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rl_kb"
|
|
android:layout_width="102dp"
|
|
android:layout_height="119dp"
|
|
android:layout_marginLeft="13dp"
|
|
android:onClick="onClick"
|
|
android:tag="@string/tag_args_tbdd_yy_new_six">
|
|
|
|
<ImageView
|
|
android:layout_width="88dp"
|
|
android:layout_height="15dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:background="@drawable/icon_yw_tbdd_dizuo" />
|
|
|
|
<View
|
|
android:layout_width="72dp"
|
|
android:layout_height="102dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="12dp"
|
|
android:background="@drawable/bg_shape_tbdd_book_bg" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_cover"
|
|
android:layout_width="66dp"
|
|
android:layout_height="96dp"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="15dp"
|
|
android:background="@drawable/icon_yw_tjsb" />
|
|
|
|
<ImageView
|
|
android:layout_width="47dp"
|
|
android:layout_height="22dp"
|
|
android:layout_marginLeft="41dp"
|
|
android:layout_marginTop="94dp"
|
|
android:background="@drawable/icon_tbdd_diandu" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_zb"
|
|
android:layout_width="38dp"
|
|
android:layout_height="38dp"
|
|
android:layout_marginTop="3dp"
|
|
android:background="@drawable/icon_kbdd_zb" />
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:layout_width="150dp"
|
|
android:layout_height="103dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginTop="9dp"
|
|
android:background="@drawable/icon_yw_tbfd_bg"
|
|
android:onClick="onClick"
|
|
android:tag="@string/tag_args_new_tbfd_yy" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:layout_width="188dp"
|
|
android:layout_height="238dp"
|
|
android:layout_marginLeft="12dp"
|
|
android:background="@drawable/icon_yw_khl"
|
|
android:onClick="onGoJzx"
|
|
android:tag="0|英语" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_dyfx"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="50dp"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:layout_width="151dp"
|
|
android:layout_height="238dp"
|
|
android:layout_marginLeft="12dp"
|
|
android:background="@drawable/icon_yw_dnxfx_bg"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="112dp"
|
|
android:layout_height="31dp"
|
|
android:layout_marginTop="52dp"
|
|
android:background="@drawable/bg_shape_d9d9d9_20"
|
|
android:gravity="center"
|
|
android:onClick="onGoJzx"
|
|
android:orientation="horizontal"
|
|
android:tag="10|英语">
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:background="@drawable/icon_dyfx_zskj" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:text="知识框架"
|
|
android:textColor="@color/white"
|
|
android:textSize="9dp" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:layout_width="9dp"
|
|
android:layout_height="9dp"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_marginBottom="2dp"
|
|
android:background="@drawable/icon_dyfx_x" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="112dp"
|
|
android:layout_height="31dp"
|
|
android:background="@drawable/bg_shape_d9d9d9_20"
|
|
android:gravity="center"
|
|
android:onClick="onGoJzx"
|
|
android:orientation="horizontal"
|
|
android:tag="11|英语">
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:background="@drawable/icon_dyfx_zsdjj" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:text="知识点精讲"
|
|
android:textColor="@color/white"
|
|
android:textSize="9dp" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:layout_width="9dp"
|
|
android:layout_height="9dp"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_marginBottom="2dp"
|
|
android:background="@drawable/icon_dyfx_x" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="112dp"
|
|
android:layout_height="31dp"
|
|
android:background="@drawable/bg_shape_d9d9d9_20"
|
|
android:gravity="center"
|
|
android:onClick="onGoJzx"
|
|
android:orientation="horizontal"
|
|
android:tag="12|英语">
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:background="@drawable/icon_dyfx_xbbj" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:text="学霸笔记"
|
|
android:textColor="@color/white"
|
|
android:textSize="9dp" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:layout_width="9dp"
|
|
android:layout_height="9dp"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_marginBottom="2dp"
|
|
android:background="@drawable/icon_dyfx_x" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="112dp"
|
|
android:layout_height="31dp"
|
|
android:background="@drawable/bg_shape_d9d9d9_20"
|
|
android:gravity="center"
|
|
android:onClick="onGoJzx"
|
|
android:orientation="horizontal"
|
|
android:tag="13|英语">
|
|
|
|
<ImageView
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:background="@drawable/icon_dyfx_ztjj" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:text="真题精讲"
|
|
android:textColor="@color/white"
|
|
android:textSize="9dp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:layout_width="188dp"
|
|
android:layout_height="238dp"
|
|
android:layout_marginLeft="12dp"
|
|
android:background="@drawable/icon_yw_aidyfxl_bg"
|
|
android:onClick="onGoJzx"
|
|
android:tag="9|英语" />
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rl_jdbk"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="50dp"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_brdzj"
|
|
android:layout_width="169dp"
|
|
android:layout_height="238dp"
|
|
android:layout_marginRight="12dp"
|
|
android:background="@drawable/icon_yw_brdzj"
|
|
android:onClick="onGoJzx"
|
|
android:tag="5|英语" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_aijdc"
|
|
android:layout_width="169dp"
|
|
android:layout_height="125dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:layout_toRightOf="@+id/iv_brdzj"
|
|
android:background="@drawable/icon_yw_aijdc"
|
|
android:onClick="onGoJzx"
|
|
android:tag="1|英语" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/iv_qyj"
|
|
android:layout_width="169dp"
|
|
android:layout_height="100dp"
|
|
android:layout_below="@+id/iv_aijdc"
|
|
android:layout_toRightOf="@+id/iv_brdzj"
|
|
android:background="@drawable/bg_shape_b6f3fa_40"
|
|
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="@color/white"
|
|
android:textSize="12dp" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:text="真题来演练,提升超惊艳"
|
|
android:textColor="#60ffffff"
|
|
android:textSize="9dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="44dp"
|
|
android:layout_height="39dp"
|
|
android:background="@drawable/bg_shape_d9d9d9_20"
|
|
android:gravity="center"
|
|
android:onClick="onGoSjzx"
|
|
android:orientation="vertical"
|
|
android:tag="1669|英语">
|
|
|
|
<ImageView
|
|
android:layout_width="21dp"
|
|
android:layout_height="19dp"
|
|
android:background="@drawable/icon_yw_qz" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="1dp"
|
|
android:paddingRight="2dp"
|
|
android:text="期中"
|
|
android:textColor="@color/white"
|
|
android:textSize="9dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="44dp"
|
|
android:layout_height="39dp"
|
|
android:layout_marginLeft="9dp"
|
|
android:layout_marginRight="9dp"
|
|
android:background="@drawable/bg_shape_d9d9d9_20"
|
|
android:gravity="center"
|
|
android:onClick="onGoSjzx"
|
|
android:orientation="vertical"
|
|
android:tag="1670|英语">
|
|
|
|
<ImageView
|
|
android:layout_width="21dp"
|
|
android:layout_height="19dp"
|
|
android:background="@drawable/icon_yw_qm" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="1dp"
|
|
android:text="期末"
|
|
android:textColor="@color/white"
|
|
android:textSize="9dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="44dp"
|
|
android:layout_height="39dp"
|
|
android:background="@drawable/bg_shape_d9d9d9_20"
|
|
android:gravity="center"
|
|
android:onClick="onGoSjzx"
|
|
android:orientation="vertical"
|
|
android:tag="1671|英语">
|
|
|
|
<ImageView
|
|
android:layout_width="21dp"
|
|
android:layout_height="19dp"
|
|
android:background="@drawable/icon_yw_mnk" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingRight="1dp"
|
|
android:text="模拟考"
|
|
android:textColor="@color/white"
|
|
android:textSize="9dp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="169dp"
|
|
android:layout_height="86dp"
|
|
android:background="@drawable/icon_yy_xx_lwxfy"
|
|
android:onClick="onClick"
|
|
android:tag="@string/taf_args_xfy" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="12dp"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:layout_width="78dp"
|
|
android:layout_height="86dp"
|
|
android:background="@drawable/icon_yy_xx_jpkc"
|
|
android:onClick="onClick"
|
|
android:tag="@string/tag_args_new_xksp_yy" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_zxts"
|
|
android:layout_width="78dp"
|
|
android:layout_height="86dp"
|
|
android:layout_marginLeft="12dp"
|
|
android:background="@drawable/icon_yy_xx_zxts"
|
|
android:onClick="onClick" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="169dp"
|
|
android:layout_height="103dp"
|
|
android:layout_marginTop="12dp"
|
|
android:background="@drawable/bg_shape_zjxx"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rl_apps"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginTop="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:onClick="@{click::openAppsDialog}"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:text="学习应用"
|
|
android:textColor="@color/white"
|
|
android:textSize="11dp" />
|
|
|
|
<ImageView
|
|
android:layout_width="19dp"
|
|
android:layout_height="19dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:background="@drawable/icon_yw_zjxx_right" />
|
|
</RelativeLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_apps"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="14dp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</layout> |