team_setttins.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical">
  6. <android.support.design.widget.AppBarLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content">
  9. <com.shuishuo.app.common.views.BaseToolbar
  10. android:id="@+id/toolbar"
  11. android:layout_width="match_parent"
  12. android:layout_height="@dimen/action_bar_height"
  13. android:title="群聊设置"
  14. style="@style/fullToolbarStyle"/>
  15. </android.support.design.widget.AppBarLayout>
  16. <ScrollView
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content">
  19. <LinearLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:orientation="vertical">
  23. <LinearLayout
  24. android:id="@+id/team_settings_room_avatar_layout"
  25. android:layout_width="match_parent"
  26. android:layout_height="match_parent"
  27. android:gravity="center_vertical"
  28. android:orientation="horizontal"
  29. android:padding="16dp">
  30. <TextView
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_weight="9"
  34. android:text="群聊头像"
  35. android:textSize="16sp" />
  36. <com.netease.nim.uikit.common.ui.imageview.HeadImageView
  37. android:id="@+id/team_settings_avatar"
  38. android:layout_width="56dp"
  39. android:layout_height="56dp"
  40. android:textSize="30sp"
  41. android:textStyle="bold" />
  42. </LinearLayout>
  43. <View
  44. android:layout_width="match_parent"
  45. android:layout_height="1dp"
  46. android:background="@color/grey_light_light" />
  47. <LinearLayout
  48. android:id="@+id/team_settings_room_name_layout"
  49. android:layout_width="match_parent"
  50. android:layout_height="wrap_content"
  51. android:gravity="center_vertical"
  52. android:orientation="horizontal"
  53. android:padding="16dp">
  54. <TextView
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:layout_weight="9"
  58. android:text="群聊名称"
  59. android:textSize="16sp" />
  60. <TextView
  61. android:id="@+id/team_settings_room_name_TV"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:layout_weight="1"
  65. android:text="群聊名称"
  66. android:textAlignment="textEnd"
  67. android:textColor="@color/grey_light"
  68. android:textSize="16sp" />
  69. </LinearLayout>
  70. <View
  71. android:layout_width="match_parent"
  72. android:layout_height="1dp"
  73. android:background="@color/grey_light_light" />
  74. <LinearLayout
  75. android:id="@+id/team_settings_introduction_layout"
  76. android:layout_width="match_parent"
  77. android:layout_height="wrap_content"
  78. android:orientation="vertical"
  79. android:padding="16dp">
  80. <TextView
  81. android:id="@+id/team_settings_introduction_title_TV"
  82. android:layout_width="wrap_content"
  83. android:layout_height="wrap_content"
  84. android:text="群聊注意事项"
  85. android:textSize="16sp" />
  86. <TextView
  87. android:id="@+id/team_settings_introduction_TV"
  88. android:layout_width="match_parent"
  89. android:layout_height="60dp"
  90. android:text="群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项"
  91. android:textColor="@color/grey_light"
  92. android:textSize="16sp" />
  93. </LinearLayout>
  94. <View
  95. android:layout_width="match_parent"
  96. android:layout_height="1dp"
  97. android:background="@color/grey_light_light" />
  98. <LinearLayout
  99. android:id="@+id/team_settings_member_count_layout"
  100. android:layout_width="match_parent"
  101. android:layout_height="wrap_content"
  102. android:gravity="center_vertical"
  103. android:orientation="horizontal"
  104. android:padding="16dp">
  105. <TextView
  106. android:layout_width="wrap_content"
  107. android:layout_height="wrap_content"
  108. android:layout_weight="9"
  109. android:text="群聊成员"
  110. android:textSize="16sp" />
  111. <TextView
  112. android:id="@+id/team_settings_member_count_tv"
  113. android:layout_width="wrap_content"
  114. android:layout_height="wrap_content"
  115. android:layout_weight="1"
  116. android:text="99人"
  117. android:textAlignment="textEnd"
  118. android:textColor="@color/grey_light"
  119. android:textSize="16sp" />
  120. <ImageView
  121. android:layout_width="wrap_content"
  122. android:layout_height="wrap_content"
  123. android:src="@drawable/right_arrow" />
  124. </LinearLayout>
  125. <View
  126. android:layout_width="match_parent"
  127. android:layout_height="1dp"
  128. android:background="@color/grey_light_light" />
  129. <HorizontalScrollView
  130. android:layout_width="match_parent"
  131. android:layout_height="wrap_content">
  132. <LinearLayout
  133. android:id="@+id/team_settings_member_avatars_layout"
  134. android:layout_width="match_parent"
  135. android:layout_height="wrap_content"
  136. android:orientation="horizontal"
  137. android:padding="16dp"/>
  138. </HorizontalScrollView>
  139. <View
  140. android:layout_width="match_parent"
  141. android:layout_height="1dp"
  142. android:background="@color/grey_light_light" />
  143. <LinearLayout
  144. android:layout_width="match_parent"
  145. android:layout_height="wrap_content"
  146. android:gravity="center_vertical"
  147. android:orientation="horizontal"
  148. android:padding="16dp">
  149. <TextView
  150. android:layout_width="wrap_content"
  151. android:layout_height="wrap_content"
  152. android:layout_weight="9"
  153. android:text="消息免打扰"
  154. android:textSize="16sp" />
  155. <Switch
  156. android:id="@+id/team_settings_room_mute_switch"
  157. android:layout_width="wrap_content"
  158. android:layout_height="wrap_content"
  159. android:layout_weight="1"
  160. android:textColor="@color/grey_light"
  161. android:textSize="16sp" />
  162. </LinearLayout>
  163. <View
  164. android:layout_width="match_parent"
  165. android:layout_height="1dp"
  166. android:background="@color/grey_light_light" />
  167. <LinearLayout
  168. android:layout_width="match_parent"
  169. android:layout_height="wrap_content"
  170. android:gravity="center_vertical"
  171. android:orientation="horizontal"
  172. android:padding="16dp">
  173. <TextView
  174. android:layout_width="wrap_content"
  175. android:layout_height="wrap_content"
  176. android:layout_weight="9"
  177. android:text="置顶聊天"
  178. android:textSize="16sp" />
  179. <Switch
  180. android:id="@+id/team_settings_room_pin_switch"
  181. android:layout_width="wrap_content"
  182. android:layout_height="wrap_content"
  183. android:layout_weight="1"
  184. android:textColor="@color/grey_light"
  185. android:textSize="16sp" />
  186. </LinearLayout>
  187. <View
  188. android:layout_width="match_parent"
  189. android:layout_height="1dp"
  190. android:background="@color/grey_light_light" />
  191. <LinearLayout
  192. android:id="@+id/team_settings_chat_record_layout"
  193. android:layout_width="match_parent"
  194. android:layout_height="wrap_content"
  195. android:gravity="center_vertical"
  196. android:orientation="horizontal"
  197. android:padding="16dp">
  198. <TextView
  199. android:layout_width="wrap_content"
  200. android:layout_height="wrap_content"
  201. android:layout_weight="9"
  202. android:text="查看聊天记录"
  203. android:textSize="16sp" />
  204. <ImageView
  205. android:layout_width="wrap_content"
  206. android:layout_height="wrap_content"
  207. android:src="@drawable/right_arrow" />
  208. </LinearLayout>
  209. <View
  210. android:layout_width="match_parent"
  211. android:layout_height="1dp"
  212. android:background="@color/grey_light_light" />
  213. <LinearLayout
  214. android:id="@+id/team_settings_clear_chat_record_layout"
  215. android:layout_width="match_parent"
  216. android:layout_height="wrap_content"
  217. android:gravity="center_vertical"
  218. android:orientation="horizontal"
  219. android:padding="16dp">
  220. <TextView
  221. android:layout_width="wrap_content"
  222. android:layout_height="wrap_content"
  223. android:layout_weight="9"
  224. android:text="清空聊天记录"
  225. android:textSize="16sp" />
  226. </LinearLayout>
  227. <Button
  228. android:id="@+id/team_settings_quit_btn"
  229. android:layout_width="128dp"
  230. android:layout_height="wrap_content"
  231. android:layout_gravity="center_horizontal"
  232. android:layout_marginBottom="40dp"
  233. android:layout_marginTop="16dp"
  234. android:background="@drawable/btn1_selector"
  235. android:text="退出该房间"
  236. android:textColor="@color/white" />
  237. </LinearLayout>
  238. </ScrollView>
  239. </LinearLayout>