fragment_pin.xml 9.8 KB

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