fb_fragment_notice.xml 7.5 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:fitsSystemWindows="true"
    android:orientation="vertical"
    android:gravity="center_vertical|center_horizontal"
    android:layout_height="match_parent">

    <!-- android:layoutAnimation="@anim/wan_extensionbar_appearance_anim_land"-->
    <LinearLayout
        android:layout_width="@dimen/fbsdk_dialog_nomal_width"
        android:layout_height="wrap_content"
        android:gravity="center_horizontal"
        android:background="@drawable/foolishsdk_dialog_nomal_background"
        android:orientation="vertical">


        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="45dp"
            android:background="@drawable/foolishsdk_dialog_red_top_background">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerInParent="true"
                android:text="游戏公告"
                android:id="@+id/fb_fragment_notice_title"
                android:textColor="@color/fbsdk_color_white"
                android:textSize="19sp" />
            <ImageView
                android:id="@+id/fb_fragment_login_close"
                android:layout_width="18dp"
                android:layout_height="18dp"
                android:layout_alignParentTop="true"
                android:layout_marginTop="13dp"
                android:layout_marginRight="16dp"
                android:layout_alignParentRight="true"
                android:src="@drawable/fb_dialog_close" />


        </RelativeLayout>

        <androidx.viewpager.widget.ViewPager
            android:layout_width="350dp"
            android:id="@+id/fb_fragment_notice_viewPager"
            android:layout_height="214dp"/>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:gravity="center_horizontal"
            android:id="@+id/fb_fragment_notice_viewGroup"></LinearLayout>
        <LinearLayout
            android:layout_width="350dp"
            android:layout_height="36dp"
            android:layout_marginTop="16dp"
            android:gravity="right|center_vertical"
            android:orientation="horizontal">

           <!-- <CheckBox
                android:layout_width=""
                android:layout_height=""-->

            <CheckBox
                android:id="@+id/fb_fragment_notice_checkbox"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:button="@drawable/foolishbird_notice_checkbox"
                android:checked="false"
                android:gravity="center_vertical"
                android:drawablePadding="8dp"
                android:text="今日不再提醒"
                android:textColor="@color/fbsdk_color_tips"
                android:textSize="12sp" />

        </LinearLayout>

    </LinearLayout>

<!--    <RelativeLayout-->
<!--        android:layout_width="596dp"-->
<!--        android:layout_height="wrap_content"-->
<!--        android:orientation="vertical">-->

<!--        <LinearLayout-->
<!--            android:layout_width="536dp"-->
<!--            android:layout_height="291dp"-->
<!--          android:id="@+id/notice_layout"-->
<!--            android:orientation="horizontal"-->
<!--            android:layout_centerHorizontal="true"-->
<!--            android:background="@drawable/hn669_gamenotice_bg">-->
<!--            &lt;!&ndash; android:layout_below="@+id/gamenotice_close"&ndash;&gt;-->

<!--            <ListView-->
<!--                android:layout_width="90dp"-->
<!--                android:dividerHeight="10dp"-->
<!--                android:divider="@color/hnssn_color_transparent"-->
<!--                android:id="@+id/gamenotice_listview"-->
<!--                android:listSelector="@android:color/transparent"-->
<!--                android:background="@color/hnssn_color_transparent"-->
<!--                android:layout_height="match_parent"/>-->
<!--            <LinearLayout-->
<!--                android:layout_width="match_parent"-->
<!--                android:layout_height="match_parent"-->
<!--                android:padding="10dp"-->
<!--                android:background="#fff5ce"-->
<!--                android:gravity="center_horizontal"-->
<!--                android:orientation="vertical">-->
<!--                <TextView-->
<!--                    android:layout_width="match_parent"-->
<!--                    android:layout_height="wrap_content"-->
<!--                    android:textSize="15sp"-->
<!--                    android:textColor="#814300"-->
<!--                    android:id="@+id/gamenotice_title"-->
<!--                    android:gravity="center_horizontal"/>-->
<!--                <LinearLayout-->
<!--                    android:layout_width="match_parent"-->
<!--                    android:layout_height="wrap_content"-->
<!--                    android:gravity="center_horizontal"-->
<!--                    android:orientation="vertical">-->
<!--                <Button-->
<!--                    android:layout_width="77dp"-->
<!--                    android:layout_height="30dp"-->
<!--                    android:id="@+id/gamenotice_button"-->
<!--                    android:background="@drawable/hnssn_btton_game_notice"-->
<!--                    android:textColor="#5f290f"-->
<!--                    android:textSize="12sp"-->
<!--                    android:layout_marginTop="8dp"-->
<!--                    android:text="联系客服"/>-->
<!--                <TextView-->
<!--                    android:layout_width="wrap_content"-->
<!--                    android:layout_height="wrap_content"-->
<!--                    android:text="*更多劲爆福利,切记联系客服"-->
<!--                    android:textSize="10sp"-->
<!--                    android:visibility="gone"-->
<!--                    android:layout_marginTop="3dp"-->
<!--                    android:textColor="#5f2904"/>-->
<!--                </LinearLayout>-->
<!--                <LinearLayout-->
<!--                    android:layout_width="match_parent"-->
<!--                    android:layout_height="match_parent"-->
<!--                    android:background="@drawable/hn669_gamenotice_content_banckground"-->
<!--                    android:layout_marginTop="10dp"-->
<!--                    android:padding="1dp"-->
<!--                    android:orientation="horizontal">-->
<!--                    <WebView-->
<!--                        android:id="@+id/gamenotice_content"-->
<!--                        android:layout_width="match_parent"-->
<!--                        android:layout_height="match_parent"-->
<!--                        android:background="@android:color/transparent"-->
<!--                        />-->
<!--                </LinearLayout>-->

<!--            </LinearLayout>-->

<!--        </LinearLayout>-->

<!--        <ImageView-->
<!--            android:id="@+id/gamenotice_close"-->
<!--            android:layout_width="30dp"-->
<!--            android:layout_height="30dp"-->
<!--            android:src="@drawable/hnssn_icon_game_notice_close"-->
<!--            android:scaleType="fitXY"-->
<!--            android:layout_alignTop="@+id/notice_layout"-->
<!--            android:layout_toRightOf="@+id/notice_layout"/>-->
<!--        -->
<!--        -->
<!--        -->
<!--    </RelativeLayout>-->



</LinearLayout>