fengche_dialog_real_name.xml 7.0 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="379dp"
    android:layout_height="284dp"
    android:layout_gravity="center"
    android:background="@drawable/fengche_sdk_find_bg">

    <RelativeLayout
        android:id="@+id/fengche_real_name_title_layout"
        android:layout_width="wrap_content"
        android:layout_height="35dp"
        android:layout_alignParentStart="true"
        android:layout_alignParentTop="true"
        android:layout_marginStart="30dp"
        android:layout_marginTop="18dp">

        <ImageView
            android:id="@+id/fengche_sdk_real_name_logo"
            android:layout_width="134dp"
            android:layout_height="35dp"
            android:contentDescription="@string/fengche_image_content_des"
            android:scaleType="centerInside"
            android:src="@drawable/fengche_sdk_login_title" />

        <View
            android:id="@+id/fengche_sdk_real_name_divider"
            android:layout_width="1px"
            android:layout_height="20dp"
            android:layout_centerVertical="true"
            android:layout_marginStart="10dp"
            android:layout_toEndOf="@id/fengche_sdk_real_name_logo"
            android:background="#838281" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_marginStart="10dp"
            android:layout_toEndOf="@id/fengche_sdk_real_name_divider"
            android:text="@string/fengche_real_name_title"
            android:textColor="#838281"
            android:textSize="15sp" />

        <ImageButton
            android:id="@+id/fengche_sdk_real_name_close"
            android:layout_width="30dp"
            android:layout_height="30dp"
            android:layout_alignParentTop="true"
            android:layout_alignParentEnd="true"
            android:layout_marginEnd="17dp"
            android:background="@android:color/transparent"
            android:contentDescription="@string/fengche_image_content_des"
            android:padding="5dp"
            android:scaleType="centerInside"
            android:src="@drawable/fengche_sdk_login_close_btn" />
    </RelativeLayout>

    <TextView
        android:id="@+id/fengche_real_name_hint1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/fengche_real_name_title_layout"
        android:layout_marginStart="1px"
        android:layout_marginTop="15dp"
        android:layout_marginEnd="1px"
        android:background="#f1f1f1"
        android:gravity="center"
        android:paddingTop="10dp"
        android:text="@string/fengche_real_name_hint1"
        android:textColor="#999999"
        android:textSize="11sp" />

    <TextView
        android:id="@+id/fengche_real_name_hint2"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/fengche_real_name_hint1"
        android:layout_marginStart="1px"
        android:layout_marginEnd="1px"
        android:background="#f1f1f1"
        android:gravity="center"
        android:paddingBottom="10dp"
        android:text="@string/fengche_real_name_hint2"
        android:textColor="#999999"
        android:textSize="11sp" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_marginStart="47dp"
        android:layout_marginEnd="47dp"
        android:layout_marginBottom="10dp"
        android:gravity="center"
        android:orientation="vertical">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="34dp"
            android:background="@drawable/fengche_shape_login_input_bg">

            <ImageView
                android:id="@+id/fengche_real_name_name_icon"
                android:layout_width="15dp"
                android:layout_height="15dp"
                android:layout_alignParentStart="true"
                android:layout_centerVertical="true"
                android:layout_marginStart="5dp"
                android:contentDescription="@string/fengche_image_content_des"
                android:scaleType="centerInside"
                android:src="@drawable/fengche_real_name_name_icon" />

            <EditText
                android:id="@+id/fengche_real_name_name"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_centerVertical="true"
                android:layout_marginStart="10dp"
                android:layout_toEndOf="@id/fengche_real_name_name_icon"
                android:background="@android:color/transparent"
                android:hint="@string/fengche_real_name_name_hint"
                android:inputType="text"
                android:textColor="@android:color/black"
                android:textColorHint="#adaaa8"
                android:textSize="13sp" />
        </RelativeLayout>

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="34dp"
            android:layout_marginTop="15dp"
            android:background="@drawable/fengche_shape_login_input_bg">

            <ImageView
                android:id="@+id/fengche_sdk_login_psw_icon"
                android:layout_width="15dp"
                android:layout_height="15dp"
                android:layout_alignParentStart="true"
                android:layout_centerVertical="true"
                android:layout_marginStart="5dp"
                android:contentDescription="@string/fengche_image_content_des"
                android:scaleType="centerInside"
                android:src="@drawable/fengche_real_name_id_icon" />

            <EditText
                android:id="@+id/fengche_real_name_no"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_marginStart="10dp"
                android:layout_toEndOf="@id/fengche_sdk_login_psw_icon"
                android:background="@android:color/transparent"
                android:hint="@string/fengche_real_name_no_hint"
                android:inputType="text"
                android:textColor="@android:color/black"
                android:textColorHint="#adaaa8"
                android:textSize="13sp" />
        </RelativeLayout>

        <Button
            android:id="@+id/fengche_real_name_sub"
            android:layout_width="match_parent"
            android:layout_height="35dp"
            android:layout_gravity="center"
            android:layout_marginTop="20dp"
            android:background="@drawable/fengche_sdk_login_sub_bg_full"
            android:text="@string/fengche_real_name_sub"
            android:textColor="@android:color/white"
            android:textSize="13sp" />
    </LinearLayout>
</RelativeLayout>