fragment_find.xml 3.02 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:background="@color/color_bg"
    android:clipToPadding="true"
    android:fitsSystemWindows="true"
    android:orientation="vertical">

    <View
        android:id="@+id/fake_status_bar"
        android:layout_width="match_parent"
        android:layout_height="@dimen/statusbar_view_height"
        android:background="@color/colorPrimaryDark"
        android:visibility="gone"/>

    <RelativeLayout
        android:id="@+id/controlBar"
        android:layout_width="match_parent"
        android:layout_height="@dimen/actionbar"
        android:background="@color/colorPrimaryDark"
        android:gravity="center_vertical"
        android:orientation="horizontal"
        android:paddingLeft="@dimen/px_40"
        android:paddingRight="@dimen/px_40">

        <ImageView
            android:id="@+id/fr_find_img_search"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:src="@mipmap/search_logo" />

        <RadioGroup
            android:id="@+id/fr_find_rg"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:gravity="center"
            android:orientation="horizontal">

            <RadioButton
                android:id="@+id/fr_find_rb_my_subscription"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:background="@drawable/dy_tab_bg"
                android:button="@null"
                android:gravity="center" />

            <RadioButton
                android:id="@+id/fr_find_rb_find"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:background="@drawable/find_tab_bg"
                android:button="@null"
                android:gravity="center" />

            <!--   &lt;!&ndash;<RadioButton&ndash;&gt;
                   &lt;!&ndash;android:id="@+id/fr_find_rb_rankinglist"&ndash;&gt;
                   &lt;!&ndash;android:layout_width="0dp"&ndash;&gt;
                   &lt;!&ndash;android:layout_height="match_parent"&ndash;&gt;
                   &lt;!&ndash;android:layout_weight="1"&ndash;&gt;
                   &lt;!&ndash;android:background="@drawable/phb_tab_bg"&ndash;&gt;
                   &lt;!&ndash;android:button="@null"&ndash;&gt;
                   &lt;!&ndash;android:gravity="center" />-->-->

        </RadioGroup>

    </RelativeLayout>

    <FrameLayout
        android:id="@+id/fr_find_content"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

    </FrameLayout>

</LinearLayout>