mch_activity_function.xml 8.9 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/ling"
    android:gravity="bottom">
    <Button
        android:id="@+id/kongb"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/mch_transparent"
        />
<LinearLayout
    android:id="@+id/function"
    android:layout_width="match_parent"
    android:layout_height="586dp"
    android:layout_alignParentBottom="true"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="26dp"
        android:gravity="center">
        <TextView
            android:id="@+id/Return"
            android:layout_width="86dp"
            android:layout_height="26dp"
            android:text="返回游戏"
            android:background="@drawable/biankuang"
            android:textColor="#ffffffff"
            android:gravity="center"
            android:textStyle="bold"
            android:textSize="12dp"/>
    </LinearLayout>

    <RelativeLayout
        android:id="@+id/mch_funtion_layout"
        android:layout_alignParentBottom="true"
        android:layout_width="match_parent"
        android:layout_weight="5"
        android:layout_height="560dp">

            <RelativeLayout
                android:id="@+id/lay_con"
                android:layout_width="match_parent"
                android:background="#0F1324"
                android:layout_height="140dp"
                >
                <LinearLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:orientation="vertical">
                <LinearLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal">
                    <LinearLayout
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="15dp"
                        android:layout_marginTop="15dp"
                        android:gravity="center">
                        <LinearLayout
                            android:layout_width="35dp"
                            android:layout_height="35dp"
                            android:background="@drawable/select"
                            android:gravity="center">
                            <com.mchsdk.paysdk.view.round.NiceImageView
                                android:id="@+id/mch_funtion_hread_img"
                                android:layout_width="35dp"
                                android:layout_height="35dp"
                                android:scaleType="fitXY"
                                android:src="@drawable/mch_nav_pic_touxiang"
                                />
                        </LinearLayout>

                        <TextView
                            android:id="@+id/mch_funtion_tv_name"
                            android:layout_width="100dp"
                            android:layout_marginLeft="10dp"
                            android:layout_height="wrap_content"
                            android:text="只只小草莓酱吖~"
                            android:textColor="#ffffffff"
                            android:textSize="13dp"
                            android:layout_toRightOf="@+id/mch_funtion_hread_img"
                            />
                    </LinearLayout>
                <!--<GridView
                    android:id="@+id/recycler_view"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_marginTop="30dp"
                    android:overScrollMode="never"
                    android:scrollbars="none"
                    />-->
                    <LinearLayout
                        android:layout_width="194dp"
                        android:layout_height="65dp"
                        android:layout_marginLeft="18dp"
                        android:layout_marginTop="10dp"
                        android:orientation="vertical">

                        <com.mchsdk.paysdk.common.ObservableScrollView
                            android:id="@+id/progress_horizontal"
                            android:layout_width="194dp"
                            android:scrollbars="none"
                            android:layout_height="wrap_content"
                            android:layout_alignParentLeft="true">

                            <LinearLayout
                                android:layout_width="200dp"
                                android:layout_height="wrap_content"
                                >

                                <GridView
                                    android:id="@+id/grid"
                                    android:layout_width="320dp"
                                    android:layout_height="wrap_content"
                                    android:gravity="center"
                                    android:listSelector="#0000"
                                    android:numColumns="auto_fit"/>

                            </LinearLayout>
                        </com.mchsdk.paysdk.common.ObservableScrollView>
                        <LinearLayout
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content">
                        <TabHost
                            android:id="@+id/hua1"
                            android:layout_width="10dp"
                            android:layout_height="3dp"
                            android:layout_marginLeft="10dp"
                            android:background="@drawable/select"/>
                        <TabHost
                            android:id="@+id/hua2"
                            android:layout_width="10dp"
                            android:layout_height="3dp"
                            android:layout_marginLeft="2dp"
                            android:background="@drawable/select1"/>
                        </LinearLayout>
                    </LinearLayout>
                </LinearLayout>
                    <LinearLayout
                        android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginTop="5dp">
                        <com.mchsdk.paysdk.common.ObservableScrollView
                            android:layout_width="fill_parent"
                            android:layout_height="wrap_content"
                            android:layout_alignParentLeft="true"
                            android:layout_marginStart="5dp"
                            android:scrollbars="none"
                            android:layout_marginEnd="5dp">

                            <LinearLayout
                                android:layout_width="fill_parent"
                                android:layout_height="wrap_content">

                                <GridView
                                    android:id="@+id/grid2"
                                    android:layout_width="fill_parent"
                                    android:layout_height="wrap_content"
                                    android:gravity="center"
                                    android:numColumns="auto_fit"
                                    android:overScrollMode="never"
                                    android:scrollbars="none"
                                    android:listSelector="#0000"
                                    android:stretchMode="spacingWidthUniform"></GridView>
                            </LinearLayout>
                        </com.mchsdk.paysdk.common.ObservableScrollView>
                    </LinearLayout>
                </LinearLayout>

            </RelativeLayout>


    </RelativeLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="420dp"
        android:layout_weight="0"
        android:background="#ffffffff"
        android:layout_alignParentBottom="true"
        android:orientation="horizontal">
        <WebView
            android:id="@+id/wv_webview"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@color/mch_transparent"
            android:layout_alignParentBottom="true"/>
    </LinearLayout>
</LinearLayout>
<!--    <WebView-->
<!--        android:id="@+id/wv_webview"-->
<!--        android:layout_width="fill_parent"-->
<!--        android:layout_height="420dp"-->
<!--        android:background="@color/mch_transparent"-->
<!--        android:layout_alignParentBottom="true"/>-->
</LinearLayout>