527416202bd882395cebe7343420f806dcf46173.svn-base 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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.first.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:inputType="phone"
  76. android:maxLength="20"
  77. android:maxLines="1"
  78. android:layout_height="wrap_content" />
  79. </LinearLayout>
  80. <LinearLayout
  81. android:layout_marginLeft="9.6dp"
  82. android:layout_marginRight="9.6dp"
  83. android:layout_marginTop="11.6dp"
  84. android:background="@color/white"
  85. android:gravity="center_vertical"
  86. android:layout_width="match_parent"
  87. android:orientation="horizontal"
  88. android:layout_height="57.6dp">
  89. <ImageView
  90. android:src="@mipmap/iv_phone_icon"
  91. android:layout_marginLeft="11.8dp"
  92. android:layout_width="wrap_content"
  93. android:layout_height="wrap_content" />
  94. <TextView
  95. android:text="@string/login_phone"
  96. android:layout_marginLeft="10dp"
  97. android:textSize="15.3sp"
  98. android:layout_width="wrap_content"
  99. android:layout_height="wrap_content" />
  100. <EditText
  101. android:id="@+id/registicl_et_phone"
  102. android:background="@null"
  103. android:textSize="15.3sp"
  104. android:layout_marginLeft="35dp"
  105. android:hint="@string/login_phone_hint"
  106. android:layout_weight="1"
  107. android:layout_width="0dp"
  108. android:inputType="phone"
  109. android:maxLength="11"
  110. android:maxLines="1"
  111. android:layout_height="wrap_content" />
  112. </LinearLayout>
  113. <LinearLayout
  114. android:layout_marginLeft="9.6dp"
  115. android:layout_marginRight="9.6dp"
  116. android:layout_marginTop="11.6dp"
  117. android:background="@color/white"
  118. android:gravity="center_vertical"
  119. android:layout_width="match_parent"
  120. android:orientation="horizontal"
  121. android:layout_height="57.6dp">
  122. <ImageView
  123. android:src="@mipmap/iv_information_email"
  124. android:layout_marginLeft="11.8dp"
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content" />
  127. <TextView
  128. android:text="@string/personal_data_email"
  129. android:layout_marginLeft="10dp"
  130. android:textSize="15.3sp"
  131. android:layout_width="wrap_content"
  132. android:layout_height="wrap_content" />
  133. <EditText
  134. android:id="@+id/registicl_et_email"
  135. android:background="@null"
  136. android:textSize="15.3sp"
  137. android:layout_marginLeft="51.5dp"
  138. android:hint="@string/personal_data_email_hint"
  139. android:layout_weight="1"
  140. android:layout_width="0dp"
  141. android:maxLength="25"
  142. android:maxLines="1"
  143. android:layout_height="wrap_content" />
  144. </LinearLayout>
  145. <Button
  146. android:id="@+id/registicl_btn_submitted"
  147. android:layout_width="282dp"
  148. android:layout_height="48dp"
  149. android:layout_gravity="center_horizontal"
  150. android:layout_marginTop="38.5dp"
  151. android:background="@drawable/selector_button"
  152. android:text="@string/inoculation_submitted"
  153. android:textColor="@color/white"
  154. android:textSize="15.3sp" />
  155. </LinearLayout>