2020-04-02 10:43:40 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/messageActivityLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_message_default_bg"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/message_activity_list_view_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dip"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<com.netease.nim.uikit.business.session.helper.MsgBkImageView
|
|
|
|
android:id="@+id/message_activity_background"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/team_notify_bar_panel"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
2020-04-24 15:14:59 +08:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2020-04-02 10:43:40 +08:00
|
|
|
android:id="@+id/messageListView"
|
|
|
|
style="@style/recycler_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/layoutPlayAudio"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="@drawable/nim_dialog_toast_bg"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<Chronometer
|
|
|
|
android:id="@+id/timer"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:text="@string/timer_default"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="45sp" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/timer_tip_container"
|
|
|
|
android:layout_width="188dp"
|
|
|
|
android:layout_height="40dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/timer_tip"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:text="@string/recording_cancel"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/iv_audio_party"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end|bottom"
|
|
|
|
android:background="@drawable/icon_party2"
|
|
|
|
android:text="语音派对" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<!--<RelativeLayout-->
|
|
|
|
<!--android:minHeight="35dp"-->
|
|
|
|
<!--android:layout_width="match_parent"-->
|
|
|
|
<!--android:layout_height="wrap_content">-->
|
|
|
|
<!--<include layout="@layout/nim_message_activity_bottom_layout"-->
|
|
|
|
<!--android:layout_width="match_parent"-->
|
|
|
|
<!--android:layout_height="wrap_content"/>-->
|
|
|
|
<!--<TextView-->
|
|
|
|
<!--android:text="禁言中,快找管理员解除禁言吧!"-->
|
|
|
|
<!--android:textColor="@color/white"-->
|
|
|
|
<!--android:background="@color/gray7"-->
|
|
|
|
<!--android:textSize="15dp"-->
|
|
|
|
<!--android:gravity="center"-->
|
|
|
|
<!--android:layout_alignParentBottom="true"-->
|
|
|
|
<!--android:layout_alignParentTop="true"-->
|
|
|
|
<!--android:layout_width="match_parent"-->
|
|
|
|
<!--android:layout_height="wrap_content" />-->
|
|
|
|
<!--</RelativeLayout>-->
|
|
|
|
|
|
|
|
<include layout="@layout/nim_message_activity_bottom_layout" />
|
|
|
|
|
|
|
|
</LinearLayout>
|