2023-04-14 12:46:18 -03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<org.thoughtcrime.securesms.components.InsetAwareConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2023-04-14 15:14:58 -03:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/conversation_video_container"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/conversation_item_recycler"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/conversation_item_recycler"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/conversation_item_recycler"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/conversation_item_recycler" />
|
|
|
|
|
2023-04-14 12:46:18 -03:00
|
|
|
<include layout="@layout/system_ui_guidelines" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/conversation_wallpaper"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:importantForAccessibility="no"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/parent_end_guideline"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/parent_start_guideline" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/conversation_wallpaper_dim"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/black"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:alpha="0.2f"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.conversation.mutiselect.MultiselectRecyclerView
|
|
|
|
android:id="@+id/conversation_item_recycler"
|
|
|
|
android:layout_width="match_parent"
|
2023-04-19 09:45:19 -03:00
|
|
|
android:layout_height="0dip"
|
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:overScrollMode="ifContentScrolls"
|
|
|
|
android:scrollbars="vertical"
|
|
|
|
android:splitMotionEvents="false"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/conversation_bottom_panel_barrier"
|
2023-05-15 12:38:28 -04:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2023-04-14 12:46:18 -03:00
|
|
|
tools:itemCount="20"
|
|
|
|
tools:listitem="@layout/conversation_item_sent_text_only" />
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.util.views.DarkOverflowToolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/signal_m3_toolbar_height"
|
|
|
|
android:background="@color/transparent"
|
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:minHeight="@dimen/signal_m3_toolbar_height"
|
|
|
|
android:theme="?attr/actionBarStyle"
|
|
|
|
app:contentInsetStart="46dp"
|
|
|
|
app:contentInsetStartWithNavigation="0dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/parent_end_guideline"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/parent_start_guideline"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/status_bar_guideline">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/conversation_title_view"
|
|
|
|
layout="@layout/conversation_title_view"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/conversation_group_call_join"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="sans-serif-medium"
|
|
|
|
android:text="@string/ConversationActivity_join"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textColor="@color/core_white"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:backgroundTint="@color/core_ultramarine"
|
|
|
|
app:cornerRadius="@dimen/material_button_full_round_corner_radius"
|
|
|
|
app:icon="@drawable/ic_video_solid_18"
|
|
|
|
app:iconGravity="textStart"
|
|
|
|
app:iconTint="@color/core_white"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</org.thoughtcrime.securesms.util.views.DarkOverflowToolbar>
|
|
|
|
|
2023-04-21 10:49:30 -03:00
|
|
|
<org.thoughtcrime.securesms.components.ConversationScrollToView
|
|
|
|
android:id="@+id/scroll_to_mention"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_marginBottom="12dp"
|
|
|
|
android:visibility="invisible"
|
|
|
|
app:cstv_scroll_button_src="@drawable/ic_at_20"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/scroll_to_bottom"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_goneMarginBottom="20dp"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.ConversationScrollToView
|
|
|
|
android:id="@+id/scroll_to_bottom"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:visibility="invisible"
|
|
|
|
app:cstv_scroll_button_src="@drawable/ic_chevron_down_20"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/conversation_bottom_panel_barrier"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
2023-04-14 12:46:18 -03:00
|
|
|
<androidx.constraintlayout.widget.Barrier
|
|
|
|
android:id="@+id/conversation_bottom_panel_barrier"
|
|
|
|
android:layout_width="wrap_content"
|
2023-04-19 09:45:19 -03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:barrierDirection="top"
|
2023-05-15 12:38:28 -04:00
|
|
|
app:constraint_referenced_ids="conversation_input_panel,attachment_editor_stub" />
|
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/attachment_editor_stub"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/attachment_editor"
|
|
|
|
android:layout="@layout/conversation_activity_attachment_editor_stub"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/conversation_input_panel"/>
|
2023-04-14 12:46:18 -03:00
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/conversation_input_panel"
|
|
|
|
layout="@layout/conversation_input_panel"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2023-05-15 12:38:28 -04:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/conversation_input_space_left"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/conversation_input_space_left"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:windowBackground"
|
|
|
|
android:paddingStart="5dp"
|
|
|
|
android:paddingEnd="5dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/navigation_bar_guideline"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
tools:text="160/160 (1)"
|
|
|
|
tools:visibility="visible" />
|
2023-04-14 12:46:18 -03:00
|
|
|
|
|
|
|
</org.thoughtcrime.securesms.components.InsetAwareConstraintLayout>
|