fragment_switch_environ.xml 1.05 KB
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="com.chudiangameplay.android.ui.fragment.SwitchEnvironFragment">

    <RadioGroup
        android:id="@+id/radio_group"
        android:layout_width="200dp"
        android:layout_height="wrap_content">

        <RadioButton
            android:id="@+id/radio_test"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="测试环境"/>

        <RadioButton
            android:id="@+id/radio_pre"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="预发布环境"/>

        <RadioButton
            android:id="@+id/radio_release"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="正式环境"/>
    </RadioGroup>
</RelativeLayout>