mch_activity_function1.xml 6.3 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="570dp"
    android:layout_height="match_parent"
    tools:ignore="MissingDefaultResource">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@drawable/bg"
        android:layout_weight="1.5"
        android:gravity="center"
        android:orientation="vertical">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="47dp"
            android:layout_marginLeft="10dp"
            android:orientation="horizontal">
            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                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="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="10dp"
                android:layout_toRightOf="@id/mch_funtion_hread_img"
                android:text="只只小草莓酱吖~"
                android:textColor="#ffffffff"
                android:textSize="13sp" />
            </LinearLayout>

        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="65dp"
            android:orientation="vertical">
            <com.mchsdk.paysdk.common.ObservableScrollView
                android:id="@+id/progress_horizontal"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true">

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="60dp">

                    <GridView
                        android:id="@+id/grid"
                        android:layout_width="70dp"
                        android:layout_height="60dp"
                        android:gravity="center"
                        android:numColumns="auto_fit"
                        android:stretchMode="spacingWidthUniform"></GridView>
                </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
            android:layout_width="fill_parent"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:layout_marginTop="10dp">

            <HorizontalScrollView
                android:layout_width="fill_parent"
                android:layout_height="match_parent"
                android:layout_alignParentLeft="true"
                android:layout_marginStart="5dp"
                android:layout_marginEnd="5dp"
                android:scrollbars="none">

                <LinearLayout
                    android:layout_width="187dp"
                    android:layout_height="match_parent">

                    <GridView
                        android:id="@+id/grid2"
                        android:layout_width="187dp"
                        android:layout_height="241dp"
                        android:gravity="center"
                        android:numColumns="auto_fit"
                        android:overScrollMode="never"
                        android:scrollbarAlwaysDrawVerticalTrack="true"
                        android:scrollbars="none"
                        android:stretchMode="spacingWidthUniform"></GridView>
                </LinearLayout>
            </HorizontalScrollView>
        </LinearLayout>


    </LinearLayout>
    <!---->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#ffffffff"
        android:layout_weight="1"
        android:gravity="center"
        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
        android:layout_width="26dp"
        android:layout_height="match_parent"
        android:gravity="center">
        <TextView
            android:id="@+id/Return"
            android:layout_width="26dp"
            android:layout_height="86dp"
            android:text="返\n回\n游\n戏"
            android:background="@drawable/biankuang1"
            android:textColor="#ffffffff"
            android:gravity="center"
            android:textStyle="bold"
            android:textSize="12sp"/>
    </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>