ebd299cb33922bd343134f351b9e2ec0993318d8.svn-base 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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:orientation="vertical"
  9. tools:context=".ui.vaccination.InoculationRegistActivity">
  10. <com.hjq.bar.TitleBar
  11. android:id="@+id/tb_registicl_title"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. app:title="@string/inoculation_regist_title" />
  15. <LinearLayout
  16. android:layout_marginLeft="9.6dp"
  17. android:layout_marginRight="9.6dp"
  18. android:layout_marginTop="11.6dp"
  19. android:background="@color/white"
  20. android:gravity="center_vertical"
  21. android:layout_width="match_parent"
  22. android:orientation="horizontal"
  23. android:layout_height="57.6dp">
  24. <ImageView
  25. android:src="@mipmap/iv_information_name"
  26. android:layout_marginLeft="11.8dp"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content" />
  29. <TextView
  30. android:text="@string/personal_data_name"
  31. android:layout_marginLeft="10dp"
  32. android:textSize="15.3sp"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content" />
  35. <EditText
  36. android:id="@+id/registicl_et_name"
  37. android:background="@null"
  38. android:textSize="15.3sp"
  39. android:layout_marginLeft="50.5dp"
  40. android:hint="@string/personal_data_name_hint"
  41. android:layout_weight="1"
  42. android:layout_width="0dp"
  43. android:maxLength="10"
  44. android:maxLines="1"
  45. android:layout_height="wrap_content" />
  46. </LinearLayout>
  47. <LinearLayout
  48. android:layout_marginLeft="9.6dp"
  49. android:layout_marginRight="9.6dp"
  50. android:layout_marginTop="11.6dp"
  51. android:background="@color/white"
  52. android:gravity="center_vertical"
  53. android:layout_width="match_parent"
  54. android:orientation="horizontal"
  55. android:layout_height="57.6dp">
  56. <ImageView
  57. android:src="@mipmap/iv_information_idcard"
  58. android:layout_marginLeft="11.8dp"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content" />
  61. <TextView
  62. android:text="@string/personal_data_idnum"
  63. android:layout_marginLeft="10dp"
  64. android:textSize="15.3sp"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content" />
  67. <EditText
  68. android:id="@+id/registicl_et_code"
  69. android:background="@null"
  70. android:textSize="15.3sp"
  71. android:layout_marginLeft="20dp"
  72. android:hint="@string/personal_data_idnum_hint"
  73. android:layout_weight="1"
  74. android:layout_width="0dp"
  75. android:maxLength="20"
  76. android:maxLines="1"
  77. android:layout_height="wrap_content" />
  78. </LinearLayout>
  79. <LinearLayout
  80. android:layout_marginLeft="9.6dp"
  81. android:layout_marginRight="9.6dp"
  82. android:layout_marginTop="11.6dp"
  83. android:background="@color/white"
  84. android:gravity="center_vertical"
  85. android:layout_width="match_parent"
  86. android:orientation="horizontal"
  87. android:layout_height="57.6dp">
  88. <ImageView
  89. android:src="@mipmap/iv_phone_icon"
  90. android:layout_marginLeft="11.8dp"
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content" />
  93. <TextView
  94. android:text="@string/login_phone"
  95. android:layout_marginLeft="10dp"
  96. android:textSize="15.3sp"
  97. android:layout_width="wrap_content"
  98. android:layout_height="wrap_content" />
  99. <EditText
  100. android:id="@+id/registicl_et_phone"
  101. android:background="@null"
  102. android:textSize="15.3sp"
  103. android:layout_marginLeft="35dp"
  104. android:hint="@string/login_phone_hint"
  105. android:layout_weight="1"
  106. android:layout_width="0dp"
  107. android:inputType="phone"
  108. android:maxLength="11"
  109. android:maxLines="1"
  110. android:layout_height="wrap_content" />
  111. </LinearLayout>
  112. <LinearLayout
  113. android:layout_marginLeft="9.6dp"
  114. android:layout_marginRight="9.6dp"
  115. android:layout_marginTop="11.6dp"
  116. android:background="@color/white"
  117. android:gravity="center_vertical"
  118. android:layout_width="match_parent"
  119. android:orientation="horizontal"
  120. android:layout_height="57.6dp">
  121. <ImageView
  122. android:src="@mipmap/iv_information_email"
  123. android:layout_marginLeft="11.8dp"
  124. android:layout_width="wrap_content"
  125. android:layout_height="wrap_content" />
  126. <TextView
  127. android:text="@string/personal_data_email"
  128. android:layout_marginLeft="10dp"
  129. android:textSize="15.3sp"
  130. android:layout_width="wrap_content"
  131. android:layout_height="wrap_content" />
  132. <EditText
  133. android:id="@+id/registicl_et_email"
  134. android:background="@null"
  135. android:textSize="15.3sp"
  136. android:layout_marginLeft="51.5dp"
  137. android:hint="@string/personal_data_email_hint"
  138. android:layout_weight="1"
  139. android:layout_width="0dp"
  140. android:maxLength="25"
  141. android:maxLines="1"
  142. android:layout_height="wrap_content" />
  143. </LinearLayout>
  144. <Button
  145. android:id="@+id/registicl_btn_submitted"
  146. android:layout_width="282dp"
  147. android:layout_height="48dp"
  148. android:layout_gravity="center_horizontal"
  149. android:layout_marginTop="38.5dp"
  150. android:background="@drawable/selector_button"
  151. android:text="@string/inoculation_submitted"
  152. android:textColor="@color/white"
  153. android:textSize="15.3sp" />
  154. </LinearLayout>