brsdk_identify.xml 4.1 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    style="@style/brsdk_layout_root"
    tools:layout_marginStart="32dp"
    tools:layout_marginEnd="32dp"
    tools:layout_gravity="center"
    >

    <include
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        layout="@layout/brsdk_navigation"
        android:layout_marginTop="-4dp"
        />

    <TextView
        android:id="@+id/brMessage"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textSize="@dimen/brsdk_font_10sp"
        android:textColor="@color/brsdk_white"
        android:text="@string/brsdk_identify_desc"
        android:includeFontPadding="false"
        android:layout_marginTop="-4dp"
        />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_marginTop="@dimen/brsdk_space_8dp"
        android:background="@drawable/brsdk_r4_white"
        android:gravity="center_vertical"
        >
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="40dp"
            android:orientation="horizontal"
            android:gravity="center_vertical"
            >
            <ImageView
                android:layout_width="40dp"
                android:layout_height="40dp"
                android:src="@drawable/brsdk_account_white"
                android:tint="@color/brsdk_gray"
                android:padding="12dp"
                />
            <EditText
                android:id="@+id/brFullName"
                android:layout_width="0dp"
                android:layout_weight="1"
                android:layout_height="match_parent"
                android:hint="@string/brsdk_identify_name"
                android:textColorHint="@color/brsdk_gray"
                android:textSize="@dimen/brsdk_font_16sp"
                android:background="@android:color/transparent"
                android:textColor="@color/brsdk_444444"
                android:includeFontPadding="false"
                android:maxLines="1"
                />
        </LinearLayout>
        <View
            android:layout_width="match_parent"
            android:layout_height="0.5dp"
            android:background="@color/brsdk_gray50"
            />
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="40dp"
            android:orientation="horizontal"
            android:gravity="center_vertical"
            >
            <ImageView
                android:layout_width="40dp"
                android:layout_height="40dp"
                android:src="@drawable/brsdk_identify_white"
                android:tint="@color/brsdk_gray"
                android:padding="12dp"
                />
            <EditText
                android:id="@+id/brIDCode"
                android:layout_width="0dp"
                android:layout_weight="1"
                android:layout_height="match_parent"
                android:hint="@string/brsdk_identify_code"
                android:textColorHint="@color/brsdk_gray"
                android:textSize="@dimen/brsdk_font_16sp"
                android:background="@android:color/transparent"
                android:textColor="@color/brsdk_444444"
                android:includeFontPadding="false"
                android:inputType="number"
                android:digits="0123456789Xx"
                android:maxLines="1"
                />
        </LinearLayout>
    </LinearLayout>

    <TextView
        android:id="@+id/brSubmit"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:textColor="@color/brsdk_white"
        android:textSize="@dimen/brsdk_font_18sp"
        android:text="@string/brsdk_button_submit"
        android:background="@drawable/brsdk_r4_theme"
        android:includeFontPadding="false"
        android:layout_marginTop="@dimen/brsdk_space_8dp"
        android:gravity="center"
        />

</LinearLayout>