1c3258a5ffb2bd46333e0f00b53608c78f164381.svn-base 6.1 KB

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