activity_model_detail.xml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical">
  7. <ScrollView
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:layout_above="@+id/bottom"
  11. android:fillViewport="true">
  12. <LinearLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"
  15. android:orientation="vertical">
  16. <include layout="@layout/model_info_header" />
  17. <LinearLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="50dp"
  20. android:layout_marginTop="10dp"
  21. android:background="@color/white"
  22. android:gravity="left|center"
  23. android:orientation="horizontal">
  24. <TextView
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:layout_marginLeft="10dp"
  28. android:drawableLeft="@drawable/title_indicator"
  29. android:drawablePadding="4dp"
  30. android:text="个性签名"
  31. android:textColor="#ff000000"
  32. android:textSize="14sp"
  33. android:textStyle="bold" />
  34. <TextView
  35. android:id="@+id/sign"
  36. android:layout_width="0dp"
  37. android:layout_height="wrap_content"
  38. android:layout_marginLeft="10dp"
  39. android:layout_marginRight="20dp"
  40. android:layout_weight="1"
  41. android:gravity="right"
  42. android:text=""
  43. android:textColor="@color/black"
  44. android:textSize="15sp" />
  45. </LinearLayout>
  46. <LinearLayout
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:layout_marginTop="10dp"
  50. android:background="@color/white"
  51. android:orientation="vertical">
  52. <TextView
  53. android:layout_width="match_parent"
  54. android:layout_height="50dp"
  55. android:drawableLeft="@drawable/title_indicator"
  56. android:drawablePadding="4dp"
  57. android:gravity="left|center"
  58. android:paddingLeft="10dp"
  59. android:text="我的标签"
  60. android:textColor="#ff000000"
  61. android:textSize="14sp"
  62. android:textStyle="bold" />
  63. <View
  64. android:layout_width="match_parent"
  65. android:layout_height="1dp"
  66. android:layout_marginLeft="20dp"
  67. android:background="@color/divider" />
  68. <LinearLayout
  69. android:id="@+id/label_container"
  70. android:layout_width="match_parent"
  71. android:layout_height="50dp"
  72. android:gravity="center_vertical"
  73. android:orientation="horizontal"
  74. android:paddingLeft="20dp"
  75. android:paddingRight="20dp">
  76. </LinearLayout>
  77. </LinearLayout>
  78. <TextView
  79. android:layout_width="match_parent"
  80. android:layout_height="50dp"
  81. android:layout_marginTop="10dp"
  82. android:background="@color/white"
  83. android:drawableLeft="@drawable/title_indicator"
  84. android:drawablePadding="4dp"
  85. android:gravity="left|center"
  86. android:paddingLeft="10dp"
  87. android:text="技能"
  88. android:textColor="#ff000000"
  89. android:textSize="14sp"
  90. android:textStyle="bold" />
  91. <LinearLayout
  92. android:id="@+id/skill_container"
  93. android:layout_width="match_parent"
  94. android:layout_height="wrap_content"
  95. android:orientation="vertical">
  96. </LinearLayout>
  97. <TextView
  98. android:layout_width="match_parent"
  99. android:layout_height="50dp"
  100. android:layout_marginTop="10dp"
  101. android:background="@color/white"
  102. android:drawableLeft="@drawable/title_indicator"
  103. android:drawablePadding="4dp"
  104. android:gravity="left|center"
  105. android:paddingLeft="10dp"
  106. android:text="个人资料"
  107. android:textColor="#ff000000"
  108. android:textSize="14sp"
  109. android:textStyle="bold" />
  110. <LinearLayout
  111. android:id="@+id/profile_container"
  112. android:layout_width="match_parent"
  113. android:layout_height="wrap_content"
  114. android:orientation="vertical">
  115. </LinearLayout>
  116. <TextView
  117. android:layout_width="match_parent"
  118. android:layout_height="50dp"
  119. android:layout_marginTop="10dp"
  120. android:background="@color/white"
  121. android:drawableLeft="@drawable/title_indicator"
  122. android:drawablePadding="4dp"
  123. android:gravity="left|center"
  124. android:paddingLeft="10dp"
  125. android:text="我的荣誉"
  126. android:textColor="#ff000000"
  127. android:textSize="14sp"
  128. android:textStyle="bold" />
  129. <LinearLayout
  130. android:id="@+id/honor_container"
  131. android:layout_width="match_parent"
  132. android:layout_height="wrap_content"
  133. android:orientation="vertical">
  134. </LinearLayout>
  135. </LinearLayout>
  136. </ScrollView>
  137. <com.google.android.flexbox.FlexboxLayout
  138. android:id="@+id/bottom"
  139. android:layout_width="match_parent"
  140. android:layout_height="48dp"
  141. android:layout_alignParentBottom="true"
  142. android:background="@color/white"
  143. android:orientation="horizontal"
  144. app:alignItems="center"
  145. app:justifyContent="space_around">
  146. <Button
  147. android:id="@+id/reserve"
  148. style="@style/Widget.AppCompat.Button.Borderless"
  149. android:layout_width="wrap_content"
  150. android:layout_height="match_parent"
  151. android:layout_weight="1"
  152. android:minWidth="0dp"
  153. android:padding="0dp"
  154. android:text="在线预约"
  155. android:textColor="@color/pink"
  156. android:textSize="14sp"
  157. android:textStyle="bold" />
  158. <Button
  159. android:id="@+id/talk"
  160. style="@style/Widget.AppCompat.Button.Borderless"
  161. android:layout_width="wrap_content"
  162. android:layout_height="match_parent"
  163. android:layout_weight="1"
  164. android:minWidth="0dp"
  165. android:padding="0dp"
  166. android:text="与Ta聊天"
  167. android:textAllCaps="false"
  168. android:textColor="@color/pink"
  169. android:textSize="14sp"
  170. android:textStyle="bold" />
  171. <LinearLayout
  172. android:id="@+id/sendVideo"
  173. android:layout_width="132dp"
  174. android:layout_height="38dp"
  175. android:background="@drawable/bg_btn_video"
  176. android:gravity="center">
  177. <ImageView
  178. android:layout_width="30dp"
  179. android:layout_height="30dp"
  180. android:layout_marginRight="6dp"
  181. android:src="@mipmap/icon_shipin" />
  182. <TextView
  183. android:layout_width="wrap_content"
  184. android:layout_height="wrap_content"
  185. android:layout_marginLeft="4dp"
  186. android:text="与Ta视频"
  187. android:textColor="@color/white"
  188. android:textSize="13sp"
  189. android:textStyle="bold" />
  190. </LinearLayout>
  191. </com.google.android.flexbox.FlexboxLayout>
  192. <View
  193. android:layout_width="match_parent"
  194. android:layout_height="1dp"
  195. android:layout_above="@id/bottom"
  196. android:background="@color/divider" />
  197. <ImageView
  198. android:id="@+id/back"
  199. android:layout_width="wrap_content"
  200. android:layout_height="50dp"
  201. android:layout_marginTop="20dp"
  202. android:padding="12dp"
  203. android:src="@mipmap/icon_back_white" />
  204. </RelativeLayout>