2018-10-19 15:26:38 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-01-16 21:25:43 +03:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-10-29 16:57:36 +03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-10-29 19:20:08 +03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-05-23 17:44:51 +03:00
|
|
|
android:id="@+id/rootConstraintLayout"
|
2018-10-21 21:27:50 +03:00
|
|
|
android:layout_width="match_parent"
|
2018-10-19 15:26:38 +03:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2021-06-10 21:25:00 +03:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appBarLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-06-05 15:31:11 +03:00
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2018-10-29 19:20:08 +03:00
|
|
|
|
2021-07-12 18:49:44 +03:00
|
|
|
<im.vector.app.core.ui.views.CurrentCallsView
|
|
|
|
android:id="@+id/currentCallsView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minHeight="48dp"
|
2022-02-11 12:18:13 +03:00
|
|
|
android:visibility="gone"/>
|
2021-07-12 18:49:44 +03:00
|
|
|
|
2021-06-10 21:25:00 +03:00
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
|
|
android:id="@+id/roomToolbar"
|
2018-10-29 19:20:08 +03:00
|
|
|
android:layout_width="match_parent"
|
2021-06-10 21:25:00 +03:00
|
|
|
android:layout_height="?actionBarSize"
|
|
|
|
android:transitionName="toolbar">
|
|
|
|
|
2021-11-22 15:02:17 +03:00
|
|
|
<include
|
|
|
|
android:id="@+id/includeThreadToolbar"
|
|
|
|
layout="@layout/view_room_detail_thread_toolbar" />
|
2021-06-10 21:25:00 +03:00
|
|
|
|
2021-11-22 15:02:17 +03:00
|
|
|
<include
|
|
|
|
android:id="@+id/includeRoomToolbar"
|
|
|
|
layout="@layout/view_room_detail_toolbar" />
|
2018-10-29 19:20:08 +03:00
|
|
|
|
2021-06-10 21:25:00 +03:00
|
|
|
</com.google.android.material.appbar.MaterialToolbar>
|
2018-10-29 19:20:08 +03:00
|
|
|
|
2021-06-10 21:25:00 +03:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2018-10-29 16:57:36 +03:00
|
|
|
|
2019-08-20 20:12:22 +03:00
|
|
|
<androidx.constraintlayout.widget.Barrier
|
2020-11-04 12:36:15 +03:00
|
|
|
android:id="@+id/timelineRecyclerViewBarrier"
|
2019-08-20 20:12:22 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:barrierDirection="top"
|
2021-09-28 20:43:54 +03:00
|
|
|
app:constraint_referenced_ids="composerLayout,notificationAreaView,failedMessagesWarningStub" />
|
2019-08-08 15:14:10 +03:00
|
|
|
|
2020-08-03 19:23:05 +03:00
|
|
|
<im.vector.app.features.sync.widget.SyncStateView
|
2019-09-17 12:13:00 +03:00
|
|
|
android:id="@+id/syncStateView"
|
2019-08-08 15:14:10 +03:00
|
|
|
android:layout_width="match_parent"
|
2019-09-17 11:59:58 +03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-06-10 21:25:00 +03:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/appBarLayout" />
|
2019-09-17 11:59:58 +03:00
|
|
|
|
2021-07-07 22:43:39 +03:00
|
|
|
<im.vector.app.features.call.conference.RemoveJitsiWidgetView
|
|
|
|
android:id="@+id/removeJitsiWidgetView"
|
2020-08-12 15:02:00 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-07-07 22:43:39 +03:00
|
|
|
android:background="?android:colorBackground"
|
|
|
|
android:minHeight="54dp"
|
2021-07-12 18:49:44 +03:00
|
|
|
android:visibility="visible"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/syncStateView" />
|
|
|
|
|
2019-10-30 21:00:00 +03:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2020-11-04 12:36:15 +03:00
|
|
|
android:id="@+id/timelineRecyclerView"
|
2018-10-29 16:57:36 +03:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2019-08-14 15:18:42 +03:00
|
|
|
android:overScrollMode="always"
|
2021-12-02 00:13:21 +03:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/timelineRecyclerViewBarrier"
|
2018-10-29 16:57:36 +03:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-07-07 22:43:39 +03:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/removeJitsiWidgetView"
|
2019-05-22 16:33:22 +03:00
|
|
|
tools:listitem="@layout/item_timeline_event_base" />
|
2018-10-19 16:30:40 +03:00
|
|
|
|
2021-06-22 17:29:19 +03:00
|
|
|
<com.google.android.material.chip.Chip
|
|
|
|
android:id="@+id/jumpToReadMarkerView"
|
2021-06-24 18:40:45 +03:00
|
|
|
style="?vctr_jump_to_unread_style"
|
2021-06-22 17:29:19 +03:00
|
|
|
android:layout_width="wrap_content"
|
2018-11-08 21:08:14 +03:00
|
|
|
android:layout_height="wrap_content"
|
2021-06-22 17:29:19 +03:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
android:text="@string/room_jump_to_first_unread"
|
|
|
|
android:visibility="invisible"
|
2021-07-12 18:49:44 +03:00
|
|
|
app:chipIcon="@drawable/ic_jump_to_unread"
|
2021-09-28 13:33:46 +03:00
|
|
|
app:chipIconTint="?colorPrimary"
|
2021-07-12 18:49:44 +03:00
|
|
|
app:closeIcon="@drawable/ic_close_24dp"
|
2018-11-08 21:08:14 +03:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-08-20 20:12:22 +03:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2022-02-11 12:18:13 +03:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/removeJitsiWidgetView"/>
|
|
|
|
|
|
|
|
<im.vector.app.core.ui.views.TypingMessageView
|
|
|
|
android:id="@+id/typingMessageView"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/composerLayout"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/timelineRecyclerView"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:paddingStart="20dp"
|
|
|
|
android:paddingEnd="20dp"
|
|
|
|
android:visibility="invisible"
|
|
|
|
android:layout_height="wrap_content"/>
|
2020-05-28 18:08:57 +03:00
|
|
|
|
2020-08-03 19:23:05 +03:00
|
|
|
<im.vector.app.core.ui.views.NotificationAreaView
|
2019-07-26 15:51:14 +03:00
|
|
|
android:id="@+id/notificationAreaView"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-05 21:09:13 +03:00
|
|
|
android:visibility="gone"
|
2019-07-26 15:51:14 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
2021-09-22 19:00:56 +03:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/failedMessagesWarningStub"
|
2021-03-01 17:27:52 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-09-28 20:43:54 +03:00
|
|
|
android:inflatedId="@+id/failedMessagesWarningStub"
|
|
|
|
android:layout="@layout/view_stub_failed_message_warning_layout"
|
2021-03-01 17:27:52 +03:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/composerLayout"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2021-09-22 19:00:56 +03:00
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
2021-03-01 17:27:52 +03:00
|
|
|
|
2021-11-19 17:34:42 +03:00
|
|
|
<im.vector.app.features.home.room.detail.composer.MessageComposerView
|
2019-08-20 20:12:22 +03:00
|
|
|
android:id="@+id/composerLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:background="?android:colorBackground"
|
2021-06-09 18:35:01 +03:00
|
|
|
android:minHeight="56dp"
|
2019-08-20 20:12:22 +03:00
|
|
|
android:transitionName="composer"
|
2021-07-12 14:55:44 +03:00
|
|
|
android:visibility="gone"
|
2019-08-20 20:12:22 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2022-02-11 12:18:13 +03:00
|
|
|
app:layout_constraintStart_toStartOf="parent"/>
|
2019-08-20 20:12:22 +03:00
|
|
|
|
2021-11-11 17:15:01 +03:00
|
|
|
<im.vector.app.features.home.room.detail.composer.voice.VoiceMessageRecorderView
|
2021-07-12 14:40:59 +03:00
|
|
|
android:id="@+id/voiceMessageRecorderView"
|
2021-09-21 19:31:17 +03:00
|
|
|
android:layout_width="0dp"
|
2021-07-12 14:40:59 +03:00
|
|
|
android:layout_height="wrap_content"
|
2021-07-12 14:55:44 +03:00
|
|
|
android:visibility="gone"
|
2021-07-12 14:40:59 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2021-07-12 14:55:44 +03:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
tools:visibility="visible" />
|
2019-08-20 20:12:22 +03:00
|
|
|
|
2021-09-21 19:31:17 +03:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/inviteViewStub"
|
2019-05-07 20:33:58 +03:00
|
|
|
android:layout_width="0dp"
|
2021-09-21 19:31:17 +03:00
|
|
|
android:layout_height="0dp"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:background="?android:colorBackground"
|
2021-09-21 19:31:17 +03:00
|
|
|
android:layout="@layout/view_stub_invite_layout"
|
2019-05-07 20:33:58 +03:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2021-12-02 00:13:21 +03:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/appBarLayout" />
|
2019-05-07 20:33:58 +03:00
|
|
|
|
2020-06-11 17:39:41 +03:00
|
|
|
<androidx.constraintlayout.widget.Barrier
|
|
|
|
android:id="@+id/badgeBarrier"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:barrierDirection="top"
|
2021-09-22 19:00:56 +03:00
|
|
|
app:constraint_referenced_ids="composerLayout,notificationAreaView, failedMessagesWarningStub" />
|
2020-06-11 17:39:41 +03:00
|
|
|
|
2020-08-03 19:23:05 +03:00
|
|
|
<im.vector.app.core.platform.BadgeFloatingActionButton
|
2019-09-17 20:38:05 +03:00
|
|
|
android:id="@+id/jumpToBottomView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="16dp"
|
2019-10-02 21:51:57 +03:00
|
|
|
android:contentDescription="@string/a11y_jump_to_bottom"
|
2021-06-09 12:51:04 +03:00
|
|
|
android:src="@drawable/ic_expand_more"
|
2019-09-17 20:38:05 +03:00
|
|
|
app:backgroundTint="#FFFFFF"
|
2021-06-09 12:51:04 +03:00
|
|
|
app:badgeBackgroundColor="?colorPrimary"
|
|
|
|
app:badgeTextColor="?colorOnPrimary"
|
2019-09-19 20:12:45 +03:00
|
|
|
app:badgeTextPadding="2dp"
|
|
|
|
app:badgeTextSize="10sp"
|
2020-06-11 17:39:41 +03:00
|
|
|
app:layout_constraintBottom_toTopOf="@id/badgeBarrier"
|
2019-09-17 20:38:05 +03:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2021-06-09 12:51:04 +03:00
|
|
|
app:tint="@android:color/black" />
|
2019-09-17 20:38:05 +03:00
|
|
|
|
2020-12-15 12:21:12 +03:00
|
|
|
<nl.dionsegijn.konfetti.KonfettiView
|
|
|
|
android:id="@+id/viewKonfetti"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="invisible" />
|
|
|
|
|
|
|
|
<com.jetradarmobile.snowfall.SnowfallView
|
|
|
|
android:id="@+id/viewSnowFall"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?vctr_chat_effect_snow_background"
|
|
|
|
android:visibility="invisible" />
|
|
|
|
|
2019-10-02 21:51:57 +03:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|