pin_view.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="@color/CFFFFFF"
  9. android:orientation="vertical"
  10. android:paddingTop="20dp"
  11. android:paddingBottom="19dp"
  12. >
  13. <LinearLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content"
  16. android:layout_alignParentStart="true"
  17. android:layout_alignParentTop="true"
  18. android:orientation="vertical">
  19. <LinearLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="72dp"
  22. android:gravity="end"
  23. android:paddingStart="16dp"
  24. android:paddingEnd="16dp">
  25. <ImageView
  26. android:id="@+id/image_close"
  27. android:layout_width="40dp"
  28. android:layout_height="40dp"
  29. android:padding="11dp"
  30. app:srcCompat="@drawable/icon_header_close"/>
  31. </LinearLayout>
  32. <TextView
  33. android:id="@+id/text_title"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:gravity="center_horizontal"
  37. android:lineSpacingExtra="7sp"
  38. android:text="@string/sign_up_register_pin_title"
  39. android:textAlignment="center"
  40. android:textColor="#000000"
  41. android:textSize="17sp"
  42. />
  43. <Space
  44. android:layout_width="match_parent"
  45. android:layout_height="12dp"/>
  46. <TextView
  47. android:id="@+id/text_guide"
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:lineSpacingExtra="5sp"
  51. android:text="@string/sign_up_register_pin"
  52. android:textAlignment="center"
  53. android:textColor="@color/C999999"
  54. android:textSize="14sp"
  55. />
  56. </LinearLayout>
  57. <LinearLayout
  58. android:layout_width="match_parent"
  59. android:layout_height="wrap_content"
  60. android:layout_marginTop="35dp"
  61. android:gravity="center"
  62. android:orientation="horizontal"
  63. >
  64. <ImageView
  65. android:id="@+id/image_pin_code1"
  66. android:layout_width="10dp"
  67. android:layout_height="10dp"
  68. android:layout_marginStart="12dp"
  69. android:layout_marginEnd="12dp"
  70. android:src="@drawable/circle_ce5e5e5"
  71. />
  72. <ImageView
  73. android:id="@+id/image_pin_code2"
  74. android:layout_width="10dp"
  75. android:layout_height="10dp"
  76. android:layout_marginStart="12dp"
  77. android:layout_marginEnd="12dp"
  78. android:src="@drawable/circle_ce5e5e5"
  79. />
  80. <ImageView
  81. android:id="@+id/image_pin_code3"
  82. android:layout_width="10dp"
  83. android:layout_height="10dp"
  84. android:layout_marginStart="12dp"
  85. android:layout_marginEnd="12dp"
  86. android:src="@drawable/circle_ce5e5e5"
  87. />
  88. <ImageView
  89. android:id="@+id/image_pin_code4"
  90. android:layout_width="10dp"
  91. android:layout_height="10dp"
  92. android:layout_marginStart="12dp"
  93. android:layout_marginEnd="12dp"
  94. android:src="@drawable/circle_ce5e5e5"
  95. />
  96. </LinearLayout>
  97. <Space
  98. android:layout_width="match_parent"
  99. android:layout_height="0dp"
  100. android:layout_weight="1"
  101. />
  102. <LinearLayout
  103. android:layout_width="match_parent"
  104. android:layout_height="wrap_content"
  105. android:orientation="vertical"
  106. android:paddingStart="16dp"
  107. android:paddingEnd="16dp">
  108. <TextView
  109. android:id="@+id/button_sign_up_pin_code_reset"
  110. android:layout_width="wrap_content"
  111. android:layout_height="wrap_content"
  112. android:layout_gravity="right"
  113. android:layout_marginEnd="2dp"
  114. android:lineSpacingExtra="3sp"
  115. android:padding="6dp"
  116. android:text="@string/pin_code_reset_underline"
  117. android:textColor="@color/C666666"
  118. android:textSize="12sp"
  119. />
  120. </LinearLayout>
  121. <LinearLayout
  122. android:layout_width="match_parent"
  123. android:layout_height="wrap_content"
  124. android:layout_marginTop="18dp"
  125. android:orientation="vertical">
  126. <View
  127. android:layout_width="match_parent"
  128. android:layout_height="1dp"
  129. android:background="#ebebeb"/>
  130. </LinearLayout>
  131. <LinearLayout
  132. android:layout_width="match_parent"
  133. android:layout_height="wrap_content"
  134. android:background="@color/CFFFFFF"
  135. android:orientation="vertical"
  136. android:paddingTop="18dp"
  137. >
  138. <LinearLayout
  139. android:layout_width="match_parent"
  140. android:layout_height="match_parent"
  141. android:background="@color/CFFFFFF"
  142. android:gravity="center"
  143. android:orientation="horizontal"
  144. >
  145. <Space
  146. android:layout_width="0dp"
  147. android:layout_height="wrap_content"
  148. android:layout_weight="1"
  149. />
  150. <Button
  151. android:id="@+id/button_0"
  152. style="@style/PinButton"
  153. tools:text="2"
  154. />
  155. <Space
  156. android:layout_width="0dp"
  157. android:layout_height="wrap_content"
  158. android:layout_weight="2"
  159. />
  160. <Button
  161. android:id="@+id/button_1"
  162. style="@style/PinButton"
  163. tools:text="2"
  164. />
  165. <Space
  166. android:layout_width="0dp"
  167. android:layout_height="wrap_content"
  168. android:layout_weight="2"
  169. />
  170. <Button
  171. android:id="@+id/button_2"
  172. style="@style/PinButton"
  173. tools:text="2"
  174. />
  175. <Space
  176. android:layout_width="0dp"
  177. android:layout_height="wrap_content"
  178. android:layout_weight="1"
  179. />
  180. </LinearLayout>
  181. <LinearLayout
  182. android:layout_width="match_parent"
  183. android:layout_height="match_parent"
  184. android:background="@color/CFFFFFF"
  185. android:gravity="center"
  186. android:orientation="horizontal"
  187. >
  188. <Space
  189. android:layout_width="0dp"
  190. android:layout_height="wrap_content"
  191. android:layout_weight="1"
  192. />
  193. <Button
  194. android:id="@+id/button_3"
  195. style="@style/PinButton"
  196. tools:text="2"
  197. />
  198. <Space
  199. android:layout_width="0dp"
  200. android:layout_height="wrap_content"
  201. android:layout_weight="2"
  202. />
  203. <Button
  204. android:id="@+id/button_4"
  205. style="@style/PinButton"
  206. tools:text="2"
  207. />
  208. <Space
  209. android:layout_width="0dp"
  210. android:layout_height="wrap_content"
  211. android:layout_weight="2"
  212. />
  213. <Button
  214. android:id="@+id/button_5"
  215. style="@style/PinButton"
  216. tools:text="2"
  217. />
  218. <Space
  219. android:layout_width="0dp"
  220. android:layout_height="wrap_content"
  221. android:layout_weight="1"
  222. />
  223. </LinearLayout>
  224. <LinearLayout
  225. android:layout_width="match_parent"
  226. android:layout_height="match_parent"
  227. android:background="@color/CFFFFFF"
  228. android:gravity="center"
  229. android:orientation="horizontal"
  230. >
  231. <Space
  232. android:layout_width="0dp"
  233. android:layout_height="wrap_content"
  234. android:layout_weight="1"
  235. />
  236. <Button
  237. android:id="@+id/button_6"
  238. style="@style/PinButton"
  239. tools:text="2"
  240. />
  241. <Space
  242. android:layout_width="0dp"
  243. android:layout_height="wrap_content"
  244. android:layout_weight="2"
  245. />
  246. <Button
  247. android:id="@+id/button_7"
  248. style="@style/PinButton"
  249. tools:text="2"
  250. />
  251. <Space
  252. android:layout_width="0dp"
  253. android:layout_height="wrap_content"
  254. android:layout_weight="2"
  255. />
  256. <Button
  257. android:id="@+id/button_8"
  258. style="@style/PinButton"
  259. tools:text="2"
  260. />
  261. <Space
  262. android:layout_width="0dp"
  263. android:layout_height="wrap_content"
  264. android:layout_weight="1"
  265. />
  266. </LinearLayout>
  267. <LinearLayout
  268. android:layout_width="match_parent"
  269. android:layout_height="wrap_content"
  270. android:background="@color/CFFFFFF"
  271. android:gravity="center"
  272. android:orientation="horizontal"
  273. >
  274. <Space
  275. android:layout_width="0dp"
  276. android:layout_height="wrap_content"
  277. android:layout_weight="1"
  278. />
  279. <Button
  280. android:id="@+id/button_shuffle"
  281. style="@style/PinButton"
  282. android:text="@string/sign_up_shuffle"
  283. android:textSize="14sp"/>
  284. <Space
  285. android:layout_width="0dp"
  286. android:layout_height="wrap_content"
  287. android:layout_weight="2"
  288. />
  289. <Button
  290. android:id="@+id/button_9"
  291. style="@style/PinButton"
  292. tools:text="2"
  293. />
  294. <Space
  295. android:layout_width="0dp"
  296. android:layout_height="wrap_content"
  297. android:layout_weight="2"
  298. />
  299. <ImageButton
  300. android:id="@+id/button_delete"
  301. style="@style/PinButton"
  302. android:scaleType="center"
  303. app:srcCompat="@drawable/icon_keypad_delete"
  304. />
  305. <Space
  306. android:layout_width="0dp"
  307. android:layout_height="wrap_content"
  308. android:layout_weight="1"
  309. />
  310. </LinearLayout>
  311. </LinearLayout>
  312. </LinearLayout>