2020-04-02 10:43:40 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout android:id="@+id/messageActivityLayout"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_message_default_bg">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/messageActivityBottomLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<include layout="@layout/nim_message_activity_text_layout"/>
|
|
|
|
|
|
|
|
<com.netease.nim.uikit.business.session.emoji.EmoticonPickerView
|
|
|
|
android:id="@+id/emoticon_picker_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/message_activity_list_view_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_above="@id/messageActivityBottomLayout">
|
|
|
|
|
2020-04-09 12:35:00 +08:00
|
|
|
<android.support.v7.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"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
</FrameLayout>
|
|
|
|
</RelativeLayout>
|