xfgame_bind_phone.xml 4.1 KB
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    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_bind_phone_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="10dp"
        android:paddingRight="40dp"
        android:paddingBottom="5dp">

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

            <LinearLayout style="@style/xfgame.input.xiafeng">

                <EditText
                    android:id="@+id/xf_bind_phone_phone_number_et"
                    style="@style/xfgame.input.edittext.account"
                    android:hint="@string/xfgame_phone_number_hint"
                    tools:ignore="TextFields" />

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

                    <ImageView
                        style="@style/xfgame.image.right_cls_icon" />

                </RelativeLayout>
            </LinearLayout>

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


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

            <FrameLayout
                style="@style/xfgame.input.downline"
                android:layout_width="0dp"
                android:layout_marginEnd="@dimen/xfgame_space_normal"
                android:layout_weight="2">

                <LinearLayout style="@style/xfgame.input.xiafeng">

                    <EditText
                        android:id="@+id/xf_bind_phone_verify_code_et"
                        style="@style/xfgame.input.edittext"
                        android:hint="@string/xfgame_verification_code_hint" />

                </LinearLayout>

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

            </FrameLayout>

            <Button
                android:id="@+id/xf_bind_phone_get_verify_code_bt"
                style="@style/xfgame.button.xiafeng_phone_code"
                android:layout_width="0dp"
                android:layout_gravity="center"
                android:layout_weight="1"
                android:text="@string/xfgame_get_verification_code" />
        </LinearLayout>

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

            <Button
                android:id="@+id/xf_bind_phone_commit_bt"
                style="@style/xfgame.button.hoyo_zero"
                android:layout_width="match_parent"
                android:layout_centerHorizontal="true"
                android:text="@string/xfgame_commit_bind" />

        </RelativeLayout>

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingBottom="@dimen/xfgame_space_small_big"
            android:text="@string/xfgame_bind_phone_number_tip"
            android:textColor="@color/xfgame_hy_main_color"
            android:textSize="@dimen/xfgame_font_size_10" />
    </LinearLayout>
</LinearLayout>