activity_setting.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/container"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context=".MainActivity">
  9. <ScrollView
  10. android:id="@+id/scrollView2"
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent">
  13. <LinearLayout
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:orientation="vertical">
  17. <ImageView
  18. android:id="@+id/info_head"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:adjustViewBounds="true"
  22. android:contentDescription="info_head"
  23. app:srcCompat="@drawable/info_head" />
  24. <FrameLayout
  25. android:layout_width="match_parent"
  26. android:layout_height="match_parent">
  27. <ImageView
  28. android:id="@+id/imageView3"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_marginStart="20dp"
  32. android:layout_marginEnd="20dp"
  33. android:adjustViewBounds="true"
  34. app:srcCompat="@drawable/info_second" />
  35. <LinearLayout
  36. android:layout_width="wrap_content"
  37. android:layout_height="match_parent"
  38. android:layout_marginStart="40dp"
  39. android:layout_marginEnd="40dp"
  40. android:orientation="vertical">
  41. <TextView
  42. android:id="@+id/textView7"
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content"
  45. android:layout_weight="1"
  46. android:gravity="center_vertical"
  47. android:text="姓名:"
  48. android:textColor="@color/black"
  49. android:textSize="13sp" />
  50. <TextView
  51. android:id="@+id/info_id"
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:layout_weight="1"
  55. android:gravity="center_vertical"
  56. android:text="证件号:"
  57. android:textColor="@color/black"
  58. android:textSize="13sp" />
  59. <TextView
  60. android:id="@+id/info_region"
  61. android:layout_width="match_parent"
  62. android:layout_height="wrap_content"
  63. android:layout_weight="1"
  64. android:gravity="center_vertical"
  65. android:text="地区:"
  66. android:textColor="@color/black"
  67. android:textSize="13sp" />
  68. <TextView
  69. android:id="@+id/info_address"
  70. android:layout_width="match_parent"
  71. android:layout_height="wrap_content"
  72. android:layout_weight="1"
  73. android:gravity="center_vertical"
  74. android:text="详细地址:"
  75. android:textColor="@color/black"
  76. android:textSize="13sp" />
  77. <TextView
  78. android:id="@+id/info_work"
  79. android:layout_width="match_parent"
  80. android:layout_height="wrap_content"
  81. android:layout_weight="1"
  82. android:gravity="center_vertical"
  83. android:text="行业:"
  84. android:textColor="@color/black"
  85. android:textSize="13sp" />
  86. </LinearLayout>
  87. <TableLayout
  88. android:layout_width="match_parent"
  89. android:layout_height="match_parent"
  90. android:layout_marginStart="40dp"
  91. android:layout_marginEnd="40dp"
  92. android:gravity="center_vertical"
  93. android:stretchColumns="*">
  94. <TableRow
  95. android:layout_width="match_parent"
  96. android:layout_height="0dp"
  97. android:layout_weight="1">
  98. <LinearLayout
  99. android:layout_width="match_parent"
  100. android:layout_height="match_parent"
  101. android:layout_gravity="right"
  102. android:orientation="horizontal">
  103. <TextView
  104. android:id="@+id/name"
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content"
  107. android:layout_gravity="center_vertical"
  108. android:gravity="right"
  109. android:textSize="13sp"
  110. android:text="习**"
  111. tools:ignore="RtlHardcoded" />
  112. <ImageView
  113. android:id="@+id/imageView4"
  114. android:layout_width="89dp"
  115. android:layout_height="24dp"
  116. android:layout_gravity="center"
  117. android:adjustViewBounds="true"
  118. app:srcCompat="@drawable/info_verified" />
  119. </LinearLayout>
  120. </TableRow>
  121. <TableRow
  122. android:layout_width="match_parent"
  123. android:layout_height="match_parent"
  124. android:layout_weight="1">
  125. <LinearLayout
  126. android:layout_width="match_parent"
  127. android:layout_height="match_parent"
  128. android:layout_gravity="right"
  129. android:orientation="horizontal">
  130. <TextView
  131. android:id="@+id/id"
  132. android:layout_width="wrap_content"
  133. android:layout_height="wrap_content"
  134. android:layout_gravity="center_vertical"
  135. android:gravity="right"
  136. android:text="1****************7"
  137. android:textSize="13sp"
  138. tools:ignore="RtlHardcoded" />
  139. </LinearLayout>
  140. </TableRow>
  141. <TableRow
  142. android:layout_width="match_parent"
  143. android:layout_height="match_parent"
  144. android:layout_weight="1">
  145. <LinearLayout
  146. android:layout_width="match_parent"
  147. android:layout_height="match_parent"
  148. android:layout_gravity="right"
  149. android:orientation="horizontal">
  150. <TextView
  151. android:id="@+id/region"
  152. android:layout_width="wrap_content"
  153. android:layout_height="wrap_content"
  154. android:layout_gravity="center_vertical"
  155. android:gravity="right"
  156. android:text="陕西省.渭南市.富平县"
  157. android:textSize="13sp"
  158. tools:ignore="RtlHardcoded" />
  159. <ImageView
  160. android:id="@+id/more_info_1"
  161. android:layout_width="24dp"
  162. android:layout_height="24dp"
  163. android:layout_gravity="end|center"
  164. android:adjustViewBounds="true"
  165. app:srcCompat="@drawable/info_more" />
  166. </LinearLayout>
  167. </TableRow>
  168. <TableRow
  169. android:layout_width="match_parent"
  170. android:layout_height="match_parent"
  171. android:layout_weight="1">
  172. <LinearLayout
  173. android:layout_width="match_parent"
  174. android:layout_height="match_parent"
  175. android:layout_gravity="right"
  176. android:orientation="horizontal">
  177. <TextView
  178. android:id="@+id/address"
  179. android:layout_width="wrap_content"
  180. android:layout_height="wrap_content"
  181. android:layout_gravity="center_vertical"
  182. android:gravity="right"
  183. android:textSize="13sp"
  184. android:text="请填写详细地址"
  185. tools:ignore="RtlHardcoded" />
  186. <ImageView
  187. android:id="@+id/more_info_2"
  188. android:layout_width="24dp"
  189. android:layout_height="24dp"
  190. android:layout_gravity="end|center"
  191. android:adjustViewBounds="true"
  192. app:srcCompat="@drawable/info_more" />
  193. </LinearLayout>
  194. </TableRow>
  195. <TableRow
  196. android:layout_width="match_parent"
  197. android:layout_height="match_parent"
  198. android:layout_weight="1">
  199. <LinearLayout
  200. android:layout_width="match_parent"
  201. android:layout_height="match_parent"
  202. android:layout_gravity="right"
  203. android:orientation="horizontal">
  204. <TextView
  205. android:id="@+id/work"
  206. android:layout_width="wrap_content"
  207. android:layout_height="wrap_content"
  208. android:layout_gravity="center_vertical"
  209. android:gravity="right"
  210. android:text="请选择"
  211. android:textSize="13sp"
  212. tools:ignore="RtlHardcoded" />
  213. <ImageView
  214. android:id="@+id/more_info_3"
  215. android:layout_width="24dp"
  216. android:layout_height="24dp"
  217. android:adjustViewBounds="true"
  218. android:layout_gravity="end|center"
  219. app:srcCompat="@drawable/info_more" />
  220. </LinearLayout>
  221. </TableRow>
  222. </TableLayout>
  223. </FrameLayout>
  224. <ImageView
  225. android:id="@+id/imageView8"
  226. android:layout_width="match_parent"
  227. android:layout_height="wrap_content"
  228. android:layout_marginTop="20dp"
  229. android:adjustViewBounds="true"
  230. app:srcCompat="@drawable/info_third" />
  231. </LinearLayout>
  232. </ScrollView>
  233. </androidx.constraintlayout.widget.ConstraintLayout>