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