123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <android.support.design.widget.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <com.sheishuo.app.common.views.BaseToolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="@dimen/action_bar_height"
- android:title="群聊设置"
- style="@style/fullToolbarStyle"/>
- </android.support.design.widget.AppBarLayout>
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:id="@+id/team_settings_room_avatar_layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="16dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="9"
- android:text="群聊头像"
- android:textSize="16sp" />
- <com.netease.nim.uikit.common.ui.imageview.HeadImageView
- android:id="@+id/team_settings_avatar"
- android:layout_width="56dp"
- android:layout_height="56dp"
- android:textSize="30sp"
- android:textStyle="bold" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light_light" />
- <LinearLayout
- android:id="@+id/team_settings_room_name_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="16dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="9"
- android:text="群聊名称"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/team_settings_room_name_TV"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="群聊名称"
- android:textAlignment="textEnd"
- android:textColor="@color/grey_light"
- android:textSize="16sp" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light_light" />
- <LinearLayout
- android:id="@+id/team_settings_introduction_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="16dp">
- <TextView
- android:id="@+id/team_settings_introduction_title_TV"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="群聊注意事项"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/team_settings_introduction_TV"
- android:layout_width="match_parent"
- android:layout_height="60dp"
- android:text="群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项群注意事项"
- android:textColor="@color/grey_light"
- android:textSize="16sp" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light_light" />
- <LinearLayout
- android:id="@+id/team_settings_member_count_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="16dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="9"
- android:text="群聊成员"
- android:textSize="16sp" />
- <TextView
- android:id="@+id/team_settings_member_count_tv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="99人"
- android:textAlignment="textEnd"
- android:textColor="@color/grey_light"
- android:textSize="16sp" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/right_arrow" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light_light" />
- <HorizontalScrollView
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <LinearLayout
- android:id="@+id/team_settings_member_avatars_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:padding="16dp"/>
- </HorizontalScrollView>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light_light" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="16dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="9"
- android:text="消息免打扰"
- android:textSize="16sp" />
- <Switch
- android:id="@+id/team_settings_room_mute_switch"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:textColor="@color/grey_light"
- android:textSize="16sp" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light_light" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="16dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="9"
- android:text="置顶聊天"
- android:textSize="16sp" />
- <Switch
- android:id="@+id/team_settings_room_pin_switch"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:textColor="@color/grey_light"
- android:textSize="16sp" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light_light" />
- <LinearLayout
- android:id="@+id/team_settings_chat_record_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="16dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="9"
- android:text="查看聊天记录"
- android:textSize="16sp" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/right_arrow" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/grey_light_light" />
- <LinearLayout
- android:id="@+id/team_settings_clear_chat_record_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="16dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="9"
- android:text="清空聊天记录"
- android:textSize="16sp" />
- </LinearLayout>
- <Button
- android:id="@+id/team_settings_quit_btn"
- android:layout_width="128dp"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginBottom="40dp"
- android:layout_marginTop="16dp"
- android:background="@drawable/btn1_selector"
- android:text="退出该房间"
- android:textColor="@color/white" />
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
|