mch_dialog_bangding_code.xml 3.6 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="wrap_content"
    android:orientation="vertical"
    android:background="@drawable/mch_choosepay_backgrount">

    <TextView
        android:layout_width="match_parent"
        android:layout_height="45dp"
        android:gravity="center"
        android:text="输入邀请码"
        android:textColor="#333333"
        android:textSize="18sp"/>
    <TextView
        android:id="@+id/yaoqingm"
        android:layout_width="match_parent"
        android:layout_height="25dp"
        android:gravity="center"
        android:text="输入新增小号名称"
        android:textColor="#ff666666"
        android:textSize="11sp"/>
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="#ffffff">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_margin="20dp"
            android:background="@drawable/mch_et_bg">

            <RelativeLayout
                android:id="@+id/btn_rl_mch_clear"
                android:layout_width="40dp"
                android:layout_height="40dp"
                android:layout_alignParentRight="true"
                >

                <ImageView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerInParent="true"
                    android:src="@drawable/mch_circle_clear" />
            </RelativeLayout>

            <EditText
                android:id="@+id/et_mch_account"
                android:layout_width="match_parent"
                android:layout_height="40dp"
                android:layout_alignParentLeft="true"
                android:layout_alignParentStart="true"
                android:layout_alignParentTop="true"
                android:background="@drawable/mch_et_bg"
                android:layout_toLeftOf="@id/btn_rl_mch_clear"
                android:hint="请输入邀请码"
                android:maxLines="1"
                android:maxLength="10"
                android:paddingLeft="10dp"
                android:singleLine="true"
                android:textColor="#333333"
                android:textColorHint="#999999"
                android:textSize="14sp">
            </EditText>
        </RelativeLayout>
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="45dp"
        android:layout_marginBottom="26dp"
        android:orientation="horizontal">

        <Button
            android:id="@+id/btn_cancle"
            android:layout_width="90dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="取消"
            android:textSize="15sp"
            android:layout_marginLeft="25dp"
            android:background="@drawable/button2"
            android:textColor="#ffcccccc"/>

        <Button
            android:id="@+id/btn_add"
            android:layout_width="90dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:layout_marginLeft="25dp"
            android:layout_marginRight="22dp"
            android:background="@drawable/button1"
            android:text="确认"
            android:textSize="15sp"
            android:textColor="#ffffffff"/>
    </LinearLayout>


</LinearLayout>