team_setttins.xml 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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.sheishuo.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_name_layout"
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:gravity="center"
  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. <TextView
  37. android:id="@+id/team_settings_room_name_TV"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_weight="1"
  41. android:text="群聊名称"
  42. android:textColor="@color/grey_light"
  43. android:textSize="16sp" />
  44. </LinearLayout>
  45. <View
  46. android:layout_width="match_parent"
  47. android:layout_height="1dp"
  48. android:background="@color/grey_light_light" />
  49. <LinearLayout
  50. android:id="@+id/team_settings_introduction_layout"
  51. android:layout_width="match_parent"
  52. android:layout_height="wrap_content"
  53. android:orientation="vertical"
  54. android:padding="16dp">
  55. <TextView
  56. android:id="@+id/team_settings_introduction_title_TV"
  57. android:layout_width="wrap_content"
  58. android:layout_height="wrap_content"
  59. android:text="群聊注意事项"
  60. android:textSize="16sp" />
  61. <TextView
  62. android:id="@+id/team_settings_introduction_TV"
  63. android:layout_width="match_parent"
  64. android:layout_height="wrap_content"
  65. android:text="群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项"
  66. android:textColor="@color/grey_light"
  67. android:textSize="16sp" />
  68. </LinearLayout>
  69. <View
  70. android:layout_width="match_parent"
  71. android:layout_height="1dp"
  72. android:background="@color/grey_light_light" />
  73. <LinearLayout
  74. android:id="@+id/team_settings_member_count_layout"
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content"
  77. android:layout_marginTop="16dp"
  78. android:gravity="center_horizontal"
  79. android:orientation="horizontal"
  80. android:padding="16dp">
  81. <TextView
  82. android:layout_width="wrap_content"
  83. android:layout_height="wrap_content"
  84. android:layout_weight="9"
  85. android:text="群聊成员"
  86. android:textSize="16sp" />
  87. <TextView
  88. android:id="@+id/team_settings_member_count_tv"
  89. android:layout_width="wrap_content"
  90. android:layout_height="wrap_content"
  91. android:layout_weight="1"
  92. android:text="99人"
  93. android:textColor="@color/grey_light"
  94. android:textSize="16sp" />
  95. <ImageView
  96. android:layout_width="wrap_content"
  97. android:layout_height="wrap_content"
  98. android:src="@drawable/right_arrow" />
  99. </LinearLayout>
  100. <View
  101. android:layout_width="match_parent"
  102. android:layout_height="1dp"
  103. android:background="@color/grey_light_light" />
  104. <HorizontalScrollView
  105. android:layout_width="match_parent"
  106. android:layout_height="wrap_content">
  107. <LinearLayout
  108. android:id="@+id/team_settings_member_avatars_layout"
  109. android:layout_width="match_parent"
  110. android:layout_height="wrap_content"
  111. android:orientation="horizontal"
  112. android:padding="16dp"/>
  113. </HorizontalScrollView>
  114. <View
  115. android:layout_width="match_parent"
  116. android:layout_height="1dp"
  117. android:background="@color/grey_light_light" />
  118. <LinearLayout
  119. android:layout_width="match_parent"
  120. android:layout_height="wrap_content"
  121. android:orientation="horizontal"
  122. android:padding="16dp">
  123. <TextView
  124. android:layout_width="wrap_content"
  125. android:layout_height="wrap_content"
  126. android:layout_weight="9"
  127. android:text="消息免打扰"
  128. android:textSize="16sp" />
  129. <Switch
  130. android:id="@+id/team_settings_room_mute_switch"
  131. android:layout_width="wrap_content"
  132. android:layout_height="wrap_content"
  133. android:layout_weight="1"
  134. android:textColor="@color/grey_light"
  135. android:textSize="16sp" />
  136. </LinearLayout>
  137. <View
  138. android:layout_width="match_parent"
  139. android:layout_height="1dp"
  140. android:background="@color/grey_light_light" />
  141. <LinearLayout
  142. android:layout_width="match_parent"
  143. android:layout_height="wrap_content"
  144. android:orientation="horizontal"
  145. android:padding="16dp">
  146. <TextView
  147. android:layout_width="wrap_content"
  148. android:layout_height="wrap_content"
  149. android:layout_weight="9"
  150. android:text="置顶聊天"
  151. android:textSize="16sp" />
  152. <Switch
  153. android:id="@+id/team_settings_room_pin_switch"
  154. android:layout_width="wrap_content"
  155. android:layout_height="wrap_content"
  156. android:layout_weight="1"
  157. android:textColor="@color/grey_light"
  158. android:textSize="16sp" />
  159. </LinearLayout>
  160. <View
  161. android:layout_width="match_parent"
  162. android:layout_height="1dp"
  163. android:background="@color/grey_light_light" />
  164. <LinearLayout
  165. android:id="@+id/team_settings_chat_record_layout"
  166. android:layout_width="match_parent"
  167. android:layout_height="wrap_content"
  168. android:layout_marginTop="16dp"
  169. android:gravity="center_horizontal"
  170. android:orientation="horizontal"
  171. android:padding="16dp">
  172. <TextView
  173. android:layout_width="wrap_content"
  174. android:layout_height="wrap_content"
  175. android:layout_weight="9"
  176. android:text="查看聊天记录"
  177. android:textSize="16sp" />
  178. <ImageView
  179. android:layout_width="wrap_content"
  180. android:layout_height="wrap_content"
  181. android:src="@drawable/right_arrow" />
  182. </LinearLayout>
  183. <View
  184. android:layout_width="match_parent"
  185. android:layout_height="1dp"
  186. android:background="@color/grey_light_light" />
  187. <LinearLayout
  188. android:id="@+id/team_settings_clear_chat_record_layout"
  189. android:layout_width="match_parent"
  190. android:layout_height="wrap_content"
  191. android:layout_marginTop="16dp"
  192. android:gravity="center_horizontal"
  193. android:orientation="horizontal"
  194. android:padding="16dp">
  195. <TextView
  196. android:layout_width="wrap_content"
  197. android:layout_height="wrap_content"
  198. android:layout_weight="9"
  199. android:text="清空聊天记录"
  200. android:textSize="16sp" />
  201. </LinearLayout>
  202. <Button
  203. android:id="@+id/team_settings_quit_btn"
  204. android:layout_width="128dp"
  205. android:layout_height="wrap_content"
  206. android:layout_gravity="center_horizontal"
  207. android:layout_marginTop="16dp"
  208. android:background="@drawable/btn1_selector"
  209. android:text="退出该房间"
  210. android:textColor="@color/white" />
  211. </LinearLayout>
  212. </ScrollView>
  213. </LinearLayout>