activity_main.xml 1.3 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <com.br_technology.securitytrain_master.view.NoScrollViewPage
        android:id="@+id/view_page"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1" />

    <RadioGroup
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:orientation="horizontal"
        android:paddingTop="6dp"
        android:paddingBottom="4dp">

        <RadioButton
            android:id="@+id/home"
            style="@style/Main.RadioButton"
            android:drawableTop="@drawable/main_home"
            android:text="首页" />

        <RadioButton
            android:id="@+id/question_bank"
            style="@style/Main.RadioButton"
            android:drawableTop="@drawable/main_bank"
            android:text="全能题库" />

        <RadioButton
            android:id="@+id/mine"
            style="@style/Main.RadioButton"
            android:drawableTop="@drawable/main_mine"
            android:text="我的" />
    </RadioGroup>

</LinearLayout>