xfgame_fast_register.xml 9.3 KB
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="@dimen/xfgame_layout_width"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:background="@drawable/xfgame_base_background"
    android:orientation="vertical">

    <com.xuanfeng.sdk.ui.weight.SDKBackTitleBar
        android:id="@+id/xf_fast_register_btb"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:paddingBottom="@dimen/xfgame_space_normal" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:orientation="vertical"
        android:paddingLeft="40dp"
        android:paddingTop="@dimen/xfgame_space_normal"
        android:paddingRight="40dp"
        android:paddingBottom="5dp">

        <FrameLayout style="@style/xfgame.input.downline">

            <LinearLayout
                style="@style/xfgame.input.xiafeng"
                android:layout_gravity="center_vertical"
                android:layout_marginStart="@dimen/xfgame_space_small"
                android:focusable="true"
                android:focusableInTouchMode="true"
                android:orientation="horizontal">

                <EditText
                    android:id="@+id/xf_fast_register_account_et"
                    style="@style/xfgame.input.edittext.account"
                    android:layout_gravity="center_vertical"
                    android:layout_marginStart="50dp"
                    android:layout_weight="1"
                    android:hint="@string/xfgame_login_user_hint_two" />

                <RelativeLayout
                    android:id="@+id/xf_fast_register_cls"
                    style="@style/xfgame.image.right_cls_icon_rl"
                    android:visibility="invisible">

                    <ImageView
                        style="@style/xfgame.image.right_cls_icon"
                        android:background="@drawable/xfgame_cls" />
                </RelativeLayout>
            </LinearLayout>

            <ImageView
                style="@style/xfgame.image.left_icon"
                android:background="@drawable/xfgame_user" />

        </FrameLayout>

        <FrameLayout
            style="@style/xfgame.input.downline"
            android:layout_marginTop="@dimen/xfgame_space_normal">

            <LinearLayout
                style="@style/xfgame.input.xiafeng"
                android:layout_gravity="center_vertical"
                android:layout_marginStart="@dimen/xfgame_space_small"
                android:orientation="horizontal">

                <EditText
                    android:id="@+id/xf_fast_register_pwd_et"
                    style="@style/xfgame.input.edittext.password"
                    android:layout_gravity="center_vertical"
                    android:layout_marginStart="50dp"
                    android:layout_weight="1"
                    android:hint="@string/xfgame_password_hint" />

            </LinearLayout>

            <ImageView
                style="@style/xfgame.image.left_icon"
                android:background="@drawable/xfgame_pwd" />
        </FrameLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="25dp"
            android:layout_marginTop="@dimen/xfgame_space_more_small"
            android:orientation="horizontal">

            <RelativeLayout
                android:id="@+id/xf_fast_register_agree_agreement_ll"
                android:layout_width="25dp"
                android:layout_height="25dp"
                android:layout_gravity="center_vertical">

                <ImageView
                    android:id="@+id/xf_fast_register_agree_agreement_iv"
                    android:layout_width="12dp"
                    android:layout_height="12dp"
                    android:background="@drawable/xfgame_agree"
                    android:layout_centerHorizontal="true"
                    android:layout_centerVertical="true"/>
            </RelativeLayout>

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:gravity="center"
                android:text="@string/xfgame_hy_read_agree"
                android:textColor="@color/xfgame_333333"
                android:textSize="@dimen/xfgame_font_size_11" />

            <TextView
                android:id="@+id/xf_fast_register_user_agreement_tv"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_gravity="center_vertical"
                android:layout_marginStart="@dimen/xfgame_space_small"
                android:layout_marginEnd="@dimen/xfgame_space_small"
                android:gravity="center"
                android:text="@string/xfgame_xiafeng_user_agreement"
                android:textColor="@color/xfgame_hy_main_color"
                android:textSize="@dimen/xfgame_font_size_11" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:gravity="center"
                android:text="@string/xfgame_xiafeng_link"
                android:textColor="@color/xfgame_333333"
                android:textSize="@dimen/xfgame_font_size_11" />

            <TextView
                android:id="@+id/xf_fast_register_user_privacy_tv"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_gravity="center_vertical"
                android:layout_marginStart="@dimen/xfgame_space_small"
                android:layout_marginEnd="@dimen/xfgame_space_small"
                android:gravity="center"
                android:text="@string/xfgame_xiafeng_user_privacy"
                android:textColor="@color/xfgame_hy_main_color"
                android:textSize="@dimen/xfgame_font_size_11" />

        </LinearLayout>

        <Button
            android:id="@+id/xf_fast_register_fast_register_bt"
            style="@style/xfgame.button.hoyo_zero"
            android:layout_width="match_parent"
            android:layout_marginTop="@dimen/xfgame_space_more_small"
            android:gravity="center"
            android:text="@string/xfgame_register" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginTop="@dimen/xfgame_space_normal"
            android:layout_marginBottom="@dimen/xfgame_space_normal"
            android:orientation="horizontal">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentStart="true"
                android:layout_centerVertical="true"
                android:text="@string/xfgame_other_login_way"
                android:textColor="@color/xfgame_hy_main_color"
                android:textSize="@dimen/xfgame_font_size_12" />

            <LinearLayout
                android:id="@+id/xf_fast_register_register_by_msg_ll"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerInParent="true"
                android:layout_centerVertical="true"
                android:orientation="vertical">

                <ImageView
                    android:layout_width="16dp"
                    android:layout_height="16dp"
                    android:layout_gravity="center"
                    android:layout_marginBottom="@dimen/xfgame_space_small"
                    android:background="@drawable/xfgame_phone_register" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/xfgame_phone_register"
                    android:textColor="@color/xfgame_333333"
                    android:textSize="@dimen/xfgame_font_size_10" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/xf_fast_register_has_account_login_ll"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentEnd="true"
                android:layout_centerVertical="true"
                android:orientation="vertical">

                <ImageView
                    android:layout_width="16dp"
                    android:layout_height="16dp"
                    android:layout_gravity="center"
                    android:layout_marginBottom="@dimen/xfgame_space_small"
                    android:background="@drawable/xfgame_account" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/xfgame_has_account_login"
                    android:textColor="@color/xfgame_333333"
                    android:textSize="@dimen/xfgame_font_size_10" />
            </LinearLayout>

        </RelativeLayout>
    </LinearLayout>

</LinearLayout>