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_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. <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="60dp"
  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:gravity="center_vertical"
  78. android:orientation="horizontal"
  79. android:padding="16dp">
  80. <TextView
  81. android:layout_width="wrap_content"
  82. android:layout_height="wrap_content"
  83. android:layout_weight="9"
  84. android:text="群聊成员"
  85. android:textSize="16sp" />
  86. <TextView
  87. android:id="@+id/team_settings_member_count_tv"
  88. android:layout_width="wrap_content"
  89. android:layout_height="wrap_content"
  90. android:layout_weight="1"
  91. android:text="99人"
  92. android:textColor="@color/grey_light"
  93. android:textSize="16sp" />
  94. <ImageView
  95. android:layout_width="wrap_content"
  96. android:layout_height="wrap_content"
  97. android:src="@drawable/right_arrow" />
  98. </LinearLayout>
  99. <View
  100. android:layout_width="match_parent"
  101. android:layout_height="1dp"
  102. android:background="@color/grey_light_light" />
  103. <HorizontalScrollView
  104. android:layout_width="match_parent"
  105. android:layout_height="wrap_content">
  106. <LinearLayout
  107. android:id="@+id/team_settings_member_avatars_layout"
  108. android:layout_width="match_parent"
  109. android:layout_height="wrap_content"
  110. android:orientation="horizontal"
  111. android:padding="16dp"/>
  112. </HorizontalScrollView>
  113. <View
  114. android:layout_width="match_parent"
  115. android:layout_height="1dp"
  116. android:background="@color/grey_light_light" />
  117. <LinearLayout
  118. android:layout_width="match_parent"
  119. android:layout_height="wrap_content"
  120. android:gravity="center_vertical"
  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:gravity="center_vertical"
  145. android:orientation="horizontal"
  146. android:padding="16dp">
  147. <TextView
  148. android:layout_width="wrap_content"
  149. android:layout_height="wrap_content"
  150. android:layout_weight="9"
  151. android:text="置顶聊天"
  152. android:textSize="16sp" />
  153. <Switch
  154. android:id="@+id/team_settings_room_pin_switch"
  155. android:layout_width="wrap_content"
  156. android:layout_height="wrap_content"
  157. android:layout_weight="1"
  158. android:textColor="@color/grey_light"
  159. android:textSize="16sp" />
  160. </LinearLayout>
  161. <View
  162. android:layout_width="match_parent"
  163. android:layout_height="1dp"
  164. android:background="@color/grey_light_light" />
  165. <LinearLayout
  166. android:id="@+id/team_settings_chat_record_layout"
  167. android:layout_width="match_parent"
  168. android:layout_height="wrap_content"
  169. android:gravity="center_vertical"
  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:gravity="center_vertical"
  192. android:orientation="horizontal"
  193. android:padding="16dp">
  194. <TextView
  195. android:layout_width="wrap_content"
  196. android:layout_height="wrap_content"
  197. android:layout_weight="9"
  198. android:text="清空聊天记录"
  199. android:textSize="16sp" />
  200. </LinearLayout>
  201. <Button
  202. android:id="@+id/team_settings_quit_btn"
  203. android:layout_width="128dp"
  204. android:layout_height="wrap_content"
  205. android:layout_gravity="center_horizontal"
  206. android:layout_marginBottom="40dp"
  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>