bdp_view_controller_account_authenticate.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:orientation="vertical"
  6. android:background="@drawable/bdp_bg_white_round" >
  7. <!-- 标题 -->
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:gravity="center_vertical">
  12. <ImageView
  13. android:layout_width="45dip"
  14. android:layout_height="48dip"
  15. android:visibility="invisible"
  16. android:scaleType="center"
  17. android:src="@drawable/bdp_icon_back_selector"
  18. android:contentDescription="@string/bdp_image"
  19. />
  20. <View
  21. android:layout_width="0dip"
  22. android:layout_height="1dip"
  23. android:layout_weight="1"
  24. />
  25. <!-- 实名认证 -->
  26. <TextView
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_margin="10dip"
  30. android:text="@string/bdp_account_authenticate_title"
  31. android:textSize="18sp"
  32. android:textColor="#ff222222"
  33. android:drawableLeft="@drawable/bdp_logo_baidu_top"
  34. android:drawablePadding="6dip"
  35. android:gravity="center"
  36. />
  37. <View
  38. android:layout_width="0dip"
  39. android:layout_height="1dip"
  40. android:layout_weight="1"
  41. />
  42. <!-- 关闭按钮 -->
  43. <ImageView
  44. android:id="@+id/imgClose"
  45. android:layout_width="45dip"
  46. android:layout_height="45dip"
  47. android:scaleType="centerInside"
  48. android:src="@drawable/bdp_icon_close_selector"
  49. android:contentDescription="@string/bdp_image"
  50. />
  51. </LinearLayout>
  52. <ScrollView
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content"
  55. android:padding="10dip"
  56. android:scrollbarStyle="outsideOverlay"
  57. android:background="@drawable/bdp_bg_white_round">
  58. <RelativeLayout
  59. android:layout_width="match_parent"
  60. android:layout_height="260dip"
  61. android:orientation="vertical" >
  62. <LinearLayout
  63. android:id="@+id/linAccountPass"
  64. android:layout_width="match_parent"
  65. android:layout_height="wrap_content"
  66. android:layout_marginBottom="18dip"
  67. android:paddingLeft="10dip"
  68. android:paddingRight="10dip"
  69. android:orientation="vertical"
  70. android:background="@drawable/bdp_bg_light_gray_round" >
  71. <!-- 真实姓名 -->
  72. <LinearLayout
  73. android:layout_width="match_parent"
  74. android:layout_height="40dip"
  75. android:gravity="center_vertical"
  76. android:orientation="horizontal" >
  77. <EditText
  78. android:id="@+id/edtRealName"
  79. android:layout_width="0dip"
  80. android:layout_height="wrap_content"
  81. android:layout_weight="1"
  82. android:layout_marginLeft="5dip"
  83. android:textColor="@color/bdp_black"
  84. android:textSize="15sp"
  85. android:maxLength="80"
  86. android:hint="@string/bdp_account_authenticate_name"
  87. android:textColorHint="@color/bdp_color_text_hint"
  88. android:background="@null"
  89. android:textCursorDrawable="@null"
  90. android:singleLine="true" />
  91. <ImageView
  92. android:id="@+id/imgNameDel"
  93. android:layout_width="30dip"
  94. android:layout_height="40dip"
  95. android:scaleType="center"
  96. android:contentDescription="@string/bdp_image"
  97. android:src="@drawable/bdp_icon_text_clear_selector"
  98. android:visibility="invisible" />
  99. </LinearLayout>
  100. <View
  101. android:layout_width="match_parent"
  102. android:layout_height="1px"
  103. android:background="#ffd1d1d1"
  104. />
  105. <!-- 身份证号 -->
  106. <LinearLayout
  107. android:layout_width="match_parent"
  108. android:layout_height="40dip"
  109. android:gravity="center_vertical"
  110. android:orientation="horizontal" >
  111. <EditText
  112. android:id="@+id/edtIdCard"
  113. android:layout_width="0dip"
  114. android:layout_height="wrap_content"
  115. android:layout_weight="1"
  116. android:layout_marginLeft="5dip"
  117. android:textColor="@color/bdp_black"
  118. android:textSize="15sp"
  119. android:maxLength="30"
  120. android:hint="@string/bdp_account_authenticate_id_card"
  121. android:textColorHint="@color/bdp_color_text_hint"
  122. android:digits="0123456789xX"
  123. android:singleLine="true"
  124. android:textCursorDrawable="@null"
  125. android:background="@null" />
  126. <ImageView
  127. android:id="@+id/imgIdCardDel"
  128. android:layout_width="wrap_content"
  129. android:layout_height="wrap_content"
  130. android:layout_marginRight="10dip"
  131. android:contentDescription="@string/bdp_image"
  132. android:src="@drawable/bdp_icon_text_clear_selector"
  133. android:visibility="invisible" />
  134. </LinearLayout>
  135. </LinearLayout>
  136. <!-- 按钮 -->
  137. <Button
  138. android:id="@+id/btnSubmit"
  139. android:layout_width="match_parent"
  140. android:layout_height="42dip"
  141. android:layout_marginBottom="18dip"
  142. android:layout_below="@id/linAccountPass"
  143. android:text="@string/bdp_account_authenticate_submit"
  144. android:textColor="@drawable/bdp_btn_yellow_font"
  145. android:textSize="17sp"
  146. android:background="@drawable/bdp_btn_yellow_selector"
  147. android:enabled="false" />
  148. <TextView
  149. android:id="@+id/txtTips"
  150. android:layout_width="match_parent"
  151. android:layout_height="wrap_content"
  152. android:layout_below="@id/btnSubmit"
  153. android:maxLines="3"
  154. android:textColor="@color/bdp_gray"
  155. android:textSize="13sp"
  156. />
  157. </RelativeLayout>
  158. </ScrollView>
  159. </LinearLayout>