fragment_down.xml 3.8 KB
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".activity.fragments.DownFragment">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:gravity="center"
        android:background="@drawable/mch_cricle_10dp_bg_white">

        <RelativeLayout
            android:layout_width="290dp"
            android:layout_height="280dp"
            android:layout_weight="1"
            android:background="@drawable/mch_cricle_10dp_bg_white"
            android:orientation="vertical">

            <RelativeLayout
                android:layout_width="80dp"
                android:layout_height="80dp"
                android:layout_marginLeft="105dp"
                android:layout_marginRight="105dp"
                android:layout_marginTop="30dp"
                android:layout_marginBottom="15dp"
                android:gravity="center">
                <ImageView
                    android:id="@+id/image"
                    android:layout_width="80dp"
                    android:layout_height="80dp"
                    android:src="@drawable/logo"/>
            </RelativeLayout>
            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="120dp"
                android:gravity="center">

                <TextView
                    android:id="@+id/tv_name"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text=""
                    android:gravity="center"
                    android:textSize="12sp"
                    android:textColor="#333333" />

            </RelativeLayout>
            <RelativeLayout
                android:layout_width="180dp"
                android:layout_height="35dp"
                android:layout_marginLeft="20dp"
                android:layout_marginRight="20dp"
                android:layout_marginTop="152dp"
                android:layout_centerHorizontal="true"
                android:gravity="center">
                <com.mchsdk.paysdk.common.ProgressButton
                    android:id="@+id/button_progress_green"
                    android:layout_width="180dp"
                    android:layout_height="35dp"
                    android:textColor="#ffffff"
                    android:text="下载"
                    android:textSize="14dp"
                    android:gravity="center"
                    app:cornerRadius="18dp"
                    app:progressMargin="0dp"
                    app:progressBackColor="#e0e0e0"
                    app:progressColor="#FA5A55"
                    app:buttonColor="#FA5A55" />
            </RelativeLayout>

            <!--最下面一行-->

            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="70dp"
                android:layout_alignParentBottom="true"
                android:gravity="center">

                <TextView
                    android:id="@+id/mch_attestation_button"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="返回"
                    android:textSize="12dp"
                    android:textColor="#333333" />

            </RelativeLayout>
        </RelativeLayout>
    </LinearLayout>

</FrameLayout>