activity_offline_exercise.xml 1.8 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <include
        android:id="@+id/in_title"
        layout="@layout/layout_tool_bar" />

    <com.br_technology.securitytrain_master.view.ViewToolBar
        android:id="@+id/tool_bar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/in_title"
        android:visibility="visible"
        app:toolTitle="线下培训" />

    <com.br_technology.securitytrain_master.view.MyVideoPlayer
        android:id="@+id/video_player"
        android:layout_width="match_parent"
        android:layout_height="210dp"
        android:layout_below="@id/tool_bar" />

    <com.google.android.material.tabs.TabLayout
        android:id="@+id/tab_layout"
        style="@style/SearchTab"
        android:layout_width="match_parent"
        android:layout_height="?actionBarSize"
        android:layout_below="@id/video_player"
        android:overScrollMode="never"
        app:tabMode="auto"
        app:tabSelectedTextColor="@color/color_252"
        app:tabTextColor="@color/color_96" />

    <View
        android:id="@+id/view"
        android:layout_width="match_parent"
        android:layout_height="8dp"
        android:layout_below="@id/tab_layout"
        android:background="@color/color_eb">

    </View>

    <androidx.viewpager.widget.ViewPager
        android:id="@+id/view_pager"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/view" />

</RelativeLayout>