tysdkn_real_name_dialog.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/tysdkn_dialog_real_name_root"
  4. android:layout_width="330dp"
  5. android:layout_height="wrap_content"
  6. android:layout_gravity="center"
  7. android:orientation="vertical"
  8. android:background="@drawable/tysdkn_edit_two_bg"
  9. android:focusable="true"
  10. android:focusableInTouchMode="true">
  11. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:layout_marginTop="11dp"
  15. android:orientation="horizontal">
  16. <TextView
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:layout_centerInParent="true"
  20. android:layout_marginLeft="12dp"
  21. android:text="实名认证"
  22. android:textStyle="bold"
  23. android:textColor="#30B8FF"
  24. android:textSize="16sp" />
  25. <ImageView
  26. android:id="@+id/tysdkn_real_name_close_iv"
  27. android:layout_width="20dp"
  28. android:layout_height="20dp"
  29. android:layout_alignParentRight="true"
  30. android:layout_marginRight="10dp"
  31. android:layout_centerVertical="true"
  32. android:background="@drawable/tysdkn_real_name_close"
  33. />
  34. </RelativeLayout>
  35. <TextView
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:textColor="#454444"
  39. android:textSize="12sp"
  40. android:layout_marginLeft="16dp"
  41. android:layout_marginTop="10dp"
  42. android:text="根据国家规定,游戏用户需要进行实名认证。"
  43. />
  44. <RelativeLayout
  45. android:layout_width="match_parent"
  46. android:layout_height="90dp"
  47. android:layout_marginLeft="16dp"
  48. android:layout_marginTop="10dp"
  49. android:layout_marginRight="16dp">
  50. <LinearLayout
  51. android:id="@+id/tysdkn_input_account_root"
  52. android:layout_width="310dp"
  53. android:layout_height="40dp"
  54. android:layout_centerHorizontal="true"
  55. android:background="@drawable/tysdkn_edit_input_bg"
  56. android:orientation="horizontal">
  57. <ImageView
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:layout_marginLeft="10dp"
  61. android:layout_gravity="center"
  62. android:src="@drawable/tysdkn_real_name_userid" />
  63. <EditText
  64. android:id="@+id/tysdkn_real_name_username_et"
  65. android:layout_width="0dp"
  66. android:layout_height="40dp"
  67. android:layout_weight="1"
  68. android:background="@null"
  69. android:hint="输入真实姓名"
  70. android:layout_gravity="center"
  71. android:paddingLeft="5dp"
  72. android:paddingRight="30dp"
  73. android:selectAllOnFocus="true"
  74. android:singleLine="true"
  75. android:textColor="#000000"
  76. android:textColorHint="#c8c8c8"
  77. android:textSize="14sp" />
  78. </LinearLayout>
  79. <LinearLayout
  80. android:layout_width="310dp"
  81. android:layout_height="40dp"
  82. android:layout_centerHorizontal="true"
  83. android:layout_marginTop="50dp"
  84. android:background="@drawable/tysdkn_edit_input_bg"
  85. android:orientation="horizontal">
  86. <ImageView
  87. android:layout_width="wrap_content"
  88. android:layout_height="match_parent"
  89. android:layout_marginLeft="10dp"
  90. android:src="@drawable/tysdkn_real_name_id" />
  91. <EditText
  92. android:id="@+id/tysdkn_real_name_number_et"
  93. android:layout_width="0dp"
  94. android:layout_height="40dp"
  95. android:layout_weight="1"
  96. android:background="@null"
  97. android:hint="输入证件号码"
  98. android:inputType="text"
  99. android:layout_gravity="center"
  100. android:maxLines="1"
  101. android:paddingLeft="5dp"
  102. android:selectAllOnFocus="true"
  103. android:textColor="#818181"
  104. android:textColorHint="#c8c8c8"
  105. android:textSize="14sp" />
  106. </LinearLayout>
  107. </RelativeLayout>
  108. <TextView
  109. android:id="@+id/tysdkn_real_name_commit_tv"
  110. android:layout_width="match_parent"
  111. android:layout_height="40dp"
  112. android:layout_marginTop="8dp"
  113. android:layout_marginLeft="16dp"
  114. android:layout_marginRight="16dp"
  115. android:layout_gravity="center"
  116. android:background="@drawable/tysdkn_login_in_bt"
  117. android:gravity="center"
  118. android:text="确认提交"
  119. android:layout_marginBottom="12dp"
  120. android:textColor="#ffffff"
  121. android:textSize="14sp" />
  122. <RelativeLayout
  123. android:id="@+id/tysdkn_certificates_type_rl"
  124. android:layout_width="wrap_content"
  125. android:layout_height="wrap_content"
  126. android:visibility="gone"
  127. >
  128. <TextView
  129. android:id="@+id/tysdkn_other_type_id_tv"
  130. android:layout_width="wrap_content"
  131. android:layout_height="wrap_content"
  132. android:layout_alignParentRight="true"
  133. android:textSize="13sp"
  134. android:layout_marginRight="25dp"
  135. android:layout_marginBottom="12dp"
  136. android:textColor="#999999"
  137. android:text="其它证件类型"
  138. />
  139. </RelativeLayout>
  140. </LinearLayout>