ht_center_fcm_view.xml 2.8 KB
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="match_parent"
   android:layout_height="wrap_content">

   <LinearLayout
      android:layout_width="match_parent"
      android:layout_gravity="center"
      android:gravity="center"
      android:layout_marginLeft="10dp"
      android:layout_marginRight="10dp"
      android:layout_height="match_parent"
      android:orientation="vertical">

      <LinearLayout
         android:layout_width="match_parent"
         android:layout_height="40dp"

         android:layout_marginBottom="10dp"
         android:gravity="center"
         android:background="@drawable/ht_edittext_bg"
         android:orientation="horizontal"
         android:paddingLeft="5dp">

         <ImageView
            android:layout_width="15dp"
            android:layout_height="15dp"
            android:layout_margin="5dp"
            android:src="@drawable/ht_ic_account" />

         <EditText
            android:id="@+id/ht_et_fcm_name"
            style="@style/ht_edittext_style"
            android:background="@null"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:hint="请输入您的名字" />
      </LinearLayout>

      <LinearLayout
         android:id="@+id/content2"
         android:layout_width="match_parent"
         android:layout_height="40dp"
         android:background="@drawable/ht_edittext_bg"
         android:gravity="center"
         android:orientation="horizontal"
         android:paddingLeft="5dp">

         <ImageView
            android:layout_width="16dp"
            android:layout_height="15dp"
            android:layout_margin="5dp"
            android:src="@drawable/ht_ic_fcm_cardid" />

         <EditText
            android:id="@+id/ht_et_fcm_number"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@null"
            style="@style/ht_edittext_style"
            android:digits="0123456789xX"
            android:hint="请输入您的身份证号码"
            android:maxLength="18" />
      </LinearLayout>

      <Button
         android:id="@+id/ht_fcm_confirm"
         style="@style/ht_button_style"
         android:layout_height="40dp"
         android:layout_width="match_parent"
         android:layout_marginTop="15dp"
         android:layout_marginBottom="10dp"
         android:text="立 即 认 证" />

      <TextView
         android:layout_width="match_parent"
         android:text="温馨提示:填写身份信息后,成年玩家将不受防沉迷 影响,可以自由游戏"
         android:textSize="12dp"
         android:layout_height="wrap_content" />
   </LinearLayout>
</FrameLayout>