fb_fragment_bind_phone.xml 4.8 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true">



    <LinearLayout
        android:layout_width="@dimen/fbsdk_dialog_nomal_width"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"

        android:background="@drawable/foolishsdk_dialog_nomal_background"
        android:gravity="center_vertical|center_horizontal"
        android:orientation="vertical">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="16dp"
            android:layout_marginTop="12dp"
            android:layout_marginRight="16dp"
            android:layout_marginBottom="20dp">

            <ImageView
                android:id="@+id/fb_fragment_login_close"
                android:layout_width="16dp"
                android:layout_height="16dp"
                android:layout_alignParentTop="true"
                android:layout_alignParentRight="true"
                android:src="@drawable/fb_dialog_close" />

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@+id/fb_fragment_login_close"
                android:layout_centerHorizontal="true"
                android:layout_marginTop="-8dp"
                android:src="@drawable/fb_dialog_logo" />
        </RelativeLayout>

        <TextView
            android:layout_width="310dp"
            android:layout_height="wrap_content"
            android:textSize="13sp"
            android:textColor="@color/fbsdk_color_white"
            android:text="@string/foolishbird_bindphone_tips"/>
        <LinearLayout
            android:layout_width="310dp"
            android:layout_height="wrap_content"
            android:layout_marginTop="5dp"
            android:background="@drawable/foolishsdk_dialog_white_background"
            android:orientation="vertical">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="45dp"
                android:gravity="center_vertical"
                android:id="@+id/fb_fragment_login_spiner_layout"
                android:orientation="horizontal">

                <EditText
                    style="@style/FoolishBird_Nomal_EditText"
                    android:id="@+id/fb_fragment_login_username_edit"
                    android:drawableLeft="@drawable/fb_fragment_login_phone"
                    android:hint="@string/foolishbird_bindphone_phone_tips" />
            </LinearLayout>

            <View
                style="@style/FoolishBIrdSpliteLine"
                android:layout_marginLeft="13dp"
                android:layout_marginRight="13dp" />

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

                <EditText
                    style="@style/FoolishBird_Nomal_EditText"
                    android:id="@+id/fb_fragment_login_password_edit"
                    android:drawableLeft="@drawable/fb_fragment_login_code"
                    android:hint="@string/foolishbird_login_code_hint" />

                <Button
                    android:id="@+id/fb_fragment_login_code_send"
                    android:layout_width="77dp"
                    android:layout_height="20dp"
                    android:layout_marginRight="23dp"
                    android:background="@drawable/foolishsdk_login_send_code"
                    android:text="@string/hnssn_forget_hint_config_number"
                    android:textColor="@color/fbsdk_color_blue"
                    android:textSize="12dp" />
            </LinearLayout>

        </LinearLayout>


        <Button
            android:layout_width="310dp"
            android:layout_height="40dp"
            android:background="@drawable/foolishbird_login_button_red"
            android:textColor="@color/fbsdk_color_white"
            android:textSize="18sp"
            android:id="@+id/fb_fragment_login_login_btn"
            android:layout_marginBottom="15dp"
            android:layout_marginTop="23dp"
            android:text="@string/foolishbird_login_account_login"/>

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="12sp"
            android:textColor="@color/fbsdk_color_gray"
            android:layout_marginBottom="23dp"
            android:autoLink="all"
            android:visibility="gone"
            android:text="@string/foolishbird_id_verify_question"/>

    </LinearLayout>


</RelativeLayout>