dialog_mch_add_account.xml 3.3 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">

    <TextView
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:background="@drawable/mc_add_account_dialog_top_bg"
        android:gravity="center"
        android:text="添加新小号"
        android:textColor="#ffffff"
        android:textSize="18sp"/>

    <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="30dp"
            android:background="@drawable/mch_et_bg">
            <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_white_bg"
                android:hint="请输入帐号(6-15位字符)"
                android:paddingLeft="10dp"
                android:singleLine="true"
                android:textColor="#a9a9a9"
                android:textColorHint="#e3e3e3"
                android:textSize="14sp">
            </EditText>

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

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

    <View
        android:layout_width="match_parent"
        android:layout_height="0.5dp"
        android:background="#e3e3e3"/>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:orientation="horizontal"
        android:background="@drawable/mc_add_account_dialog_bottom_bg">
        <TextView
            android:id="@+id/btn_cancle"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="取消"
            android:textSize="18sp"
            android:textColor="#969696"/>
        <View
            android:layout_width="0.5dp"
            android:layout_height="match_parent"
            android:background="#e3e3e3"/>
        <TextView
            android:id="@+id/btn_add"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="确认"
            android:textSize="18sp"
            android:textColor="#569BFA"/>
    </LinearLayout>


</LinearLayout>