Mercury-IM/app/src/main/res/layout/activity_chat.xml

45 lines
1.8 KiB
XML
Raw Normal View History

2019-04-22 04:54:02 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-06-21 04:44:59 +02:00
<androidx.constraintlayout.widget.ConstraintLayout
2019-06-21 03:45:33 +02:00
xmlns:android="http://schemas.android.com/apk/res/android"
2019-08-24 23:06:06 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2019-04-22 04:54:02 +02:00
android:layout_width="match_parent"
2019-08-24 23:06:06 +02:00
android:layout_height="match_parent"
2020-06-06 18:45:20 +02:00
tools:context=".android.ui.chat.ChatActivity">
2019-06-06 23:32:41 +02:00
2019-08-24 23:06:06 +02:00
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar_layout"
2019-06-06 23:32:41 +02:00
android:layout_width="match_parent"
2019-08-24 23:06:06 +02:00
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent">
2019-06-23 02:34:14 +02:00
2019-08-24 23:06:06 +02:00
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
2019-09-25 22:50:52 +02:00
tools:menu="@menu/menu_chat" />
2019-08-24 23:06:06 +02:00
</com.google.android.material.appbar.AppBarLayout>
2019-06-06 23:32:41 +02:00
2019-09-23 23:20:43 +02:00
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
2019-06-21 04:44:59 +02:00
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
2019-09-23 23:20:43 +02:00
app:layout_constraintTop_toBottomOf="@id/appbar_layout"
android:paddingBottom="56dp"
android:clipToPadding="false"
android:clipChildren="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:listitem="@layout/view_message_text_in" />
2019-06-06 23:32:41 +02:00
2020-07-13 22:16:13 +02:00
<androidx.fragment.app.FragmentContainerView
2019-08-24 23:06:06 +02:00
android:id="@+id/fragment_compose"
2020-06-06 18:45:20 +02:00
android:name="org.mercury_im.messenger.android.ui.chat.ChatInputFragment"
2019-08-24 23:06:06 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
tools:layout="@layout/view_compose"/>
2019-06-06 23:32:41 +02:00
2019-06-21 04:44:59 +02:00
</androidx.constraintlayout.widget.ConstraintLayout>