2012-07-19 14:22:03 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-05-26 17:32:52 -03:00
|
|
|
<org.thoughtcrime.securesms.components.InsetAwareConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-05-24 14:31:48 -03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-08-09 13:29:04 -03:00
|
|
|
tools:viewBindingIgnore="true"
|
2019-05-24 14:31:48 -03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-02-25 15:21:37 -08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2015-07-24 13:22:28 -07:00
|
|
|
|
2021-01-19 21:54:10 -05:00
|
|
|
<include layout="@layout/system_ui_guidelines" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/conversation_wallpaper"
|
2021-02-11 00:58:49 -05:00
|
|
|
android:layout_width="0dp"
|
2021-01-23 12:41:29 -05:00
|
|
|
android:layout_height="match_parent"
|
2021-02-11 00:58:49 -05:00
|
|
|
android:importantForAccessibility="no"
|
2022-05-26 17:32:52 -03:00
|
|
|
android:scaleType="centerCrop"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/parent_end_guideline"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/parent_start_guideline" />
|
2021-01-19 21:54:10 -05:00
|
|
|
|
|
|
|
<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" />
|
|
|
|
|
2019-05-24 14:31:48 -03:00
|
|
|
<org.thoughtcrime.securesms.components.InputAwareLayout
|
|
|
|
android:id="@+id/layout_container"
|
2021-01-24 02:22:09 -05:00
|
|
|
android:layout_width="0dp"
|
2021-01-19 21:54:10 -05:00
|
|
|
android:layout_height="0dp"
|
2021-01-24 02:22:09 -05:00
|
|
|
app:layout_constraintBottom_toBottomOf="@id/navigation_bar_guideline"
|
2022-05-26 17:32:52 -03:00
|
|
|
app:layout_constraintEnd_toEndOf="@id/parent_end_guideline"
|
2021-01-30 11:28:54 -05:00
|
|
|
app:layout_constraintStart_toStartOf="@id/parent_start_guideline"
|
2022-05-26 17:32:52 -03:00
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2015-07-30 13:20:21 -07:00
|
|
|
|
2019-05-24 14:31:48 -03:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/conversation_container"
|
2019-02-01 09:06:59 -08:00
|
|
|
android:layout_width="match_parent"
|
2019-05-24 14:31:48 -03:00
|
|
|
android:layout_height="match_parent"
|
2019-03-20 22:25:19 -07:00
|
|
|
android:clipChildren="false"
|
2019-05-24 14:31:48 -03:00
|
|
|
android:clipToPadding="false"
|
|
|
|
android:gravity="bottom"
|
2021-02-09 11:42:57 -05:00
|
|
|
android:orientation="vertical">
|
2019-05-24 14:31:48 -03:00
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
2020-07-27 09:58:58 -04:00
|
|
|
android:layout_weight="1">
|
|
|
|
|
2022-01-11 09:36:21 -05:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2020-07-27 09:58:58 -04:00
|
|
|
android:id="@+id/fragment_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/conversation_mention_suggestions_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-05-26 17:32:52 -03:00
|
|
|
android:layout="@layout/conversation_mention_suggestions_stub" />
|
2020-07-27 09:58:58 -04:00
|
|
|
|
|
|
|
</FrameLayout>
|
2019-05-24 14:31:48 -03:00
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/attachment_editor_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/attachment_editor"
|
|
|
|
android:layout="@layout/conversation_activity_attachment_editor_stub" />
|
|
|
|
|
2022-07-08 14:49:28 -04:00
|
|
|
<LinearLayout
|
2020-02-19 18:08:34 -04:00
|
|
|
android:id="@+id/conversation_activity_panel_parent"
|
2019-05-24 14:31:48 -03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-08 14:49:28 -04:00
|
|
|
android:orientation="vertical"
|
2019-05-24 14:31:48 -03:00
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false">
|
|
|
|
|
2022-07-08 14:49:28 -04:00
|
|
|
<include layout="@layout/conversation_search_nav" />
|
2019-05-24 14:31:48 -03:00
|
|
|
|
2022-07-08 14:49:28 -04:00
|
|
|
<FrameLayout
|
2021-07-23 16:22:08 -04:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-08 14:49:28 -04:00
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false">
|
2021-07-23 16:22:08 -04:00
|
|
|
|
2022-07-08 14:49:28 -04:00
|
|
|
<include
|
|
|
|
layout="@layout/conversation_no_longer_a_member"
|
|
|
|
android:visibility="gone" />
|
2019-05-24 14:31:48 -03:00
|
|
|
|
2022-07-08 14:49:28 -04:00
|
|
|
<include
|
|
|
|
layout="@layout/conversation_requesting_bottom_banner"
|
|
|
|
android:visibility="gone" />
|
2020-02-19 18:08:34 -04:00
|
|
|
|
2022-07-08 14:49:28 -04:00
|
|
|
<include layout="@layout/conversation_input_panel" />
|
2022-01-31 12:46:44 -05:00
|
|
|
|
2022-07-08 14:49:28 -04:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/conversation_cannot_send_announcement_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout="@layout/conversation_cannot_send_announcement_group" />
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.messagerequests.MessageRequestsBottomView
|
|
|
|
android:id="@+id/conversation_activity_message_request_bottom_bar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clickable="true"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/conversation_release_notes_unmute_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout="@layout/conversation_activity_unmute" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-05-24 14:31:48 -03:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/register_button"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="20dp"
|
|
|
|
android:text="@string/conversation_activity__enable_signal_messages"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/unblock_button"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="20dp"
|
|
|
|
android:text="@string/ConversationActivity_unblock"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/make_default_sms_button"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="20dp"
|
|
|
|
android:text="@string/conversation_activity__enable_signal_for_sms"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/space_left"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:windowBackground"
|
2019-11-07 07:01:41 -05:00
|
|
|
android:paddingStart="5dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:text="160/160 (1)"
|
|
|
|
tools:visibility="visible" />
|
2019-05-24 14:31:48 -03:00
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/emoji_drawer_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/emoji_drawer"
|
|
|
|
android:layout="@layout/conversation_activity_emojidrawer_stub" />
|
|
|
|
|
2020-01-29 22:13:44 -05:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/attachment_keyboard_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/attachment_keyboard"
|
|
|
|
android:layout="@layout/conversation_activity_attachment_keyboard_stub" />
|
|
|
|
|
2019-05-24 14:31:48 -03:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</org.thoughtcrime.securesms.components.InputAwareLayout>
|
|
|
|
|
2022-06-17 14:22:14 -03:00
|
|
|
<View
|
|
|
|
android:id="@+id/navbar_background"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:background="@color/wallpaper_compose_background"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/navigation_bar_guideline" />
|
|
|
|
|
2022-05-26 17:32:52 -03:00
|
|
|
<View
|
|
|
|
android:id="@+id/toolbar_background"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/signal_m3_toolbar_height"
|
2022-06-10 16:20:02 -03:00
|
|
|
android:background="@color/signal_colorBackground"
|
2022-05-26 17:32:52 -03:00
|
|
|
app:layout_constraintEnd_toEndOf="@id/parent_end_guideline"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/parent_start_guideline"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/status_bar_guideline" />
|
|
|
|
|
2021-02-09 11:42:57 -05:00
|
|
|
<org.thoughtcrime.securesms.util.views.DarkOverflowToolbar
|
|
|
|
android:id="@+id/toolbar"
|
2021-02-11 00:58:49 -05:00
|
|
|
android:layout_width="0dp"
|
2022-05-26 17:32:52 -03:00
|
|
|
android:layout_height="@dimen/signal_m3_toolbar_height"
|
|
|
|
android:background="@color/transparent"
|
2022-01-14 09:06:28 -04:00
|
|
|
android:clipChildren="false"
|
|
|
|
android:clipToPadding="false"
|
2022-05-26 17:32:52 -03:00
|
|
|
android:minHeight="@dimen/signal_m3_toolbar_height"
|
2021-02-09 11:42:57 -05:00
|
|
|
android:theme="?attr/actionBarStyle"
|
2022-01-14 09:06:28 -04:00
|
|
|
app:contentInsetStart="46dp"
|
2021-02-09 11:42:57 -05:00
|
|
|
app:contentInsetStartWithNavigation="0dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/parent_end_guideline"
|
2022-01-14 09:06:28 -04:00
|
|
|
app:layout_constraintStart_toStartOf="@id/parent_start_guideline"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/status_bar_guideline">
|
2021-02-09 11:42:57 -05:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-05-26 17:32:52 -03:00
|
|
|
android:clipChildren="false"
|
2021-02-09 11:42:57 -05:00
|
|
|
android:clipToPadding="false"
|
2022-05-26 17:32:52 -03:00
|
|
|
android:orientation="horizontal">
|
2021-02-09 11:42:57 -05:00
|
|
|
|
2022-05-26 17:32:52 -03:00
|
|
|
<include
|
|
|
|
layout="@layout/conversation_title_view"
|
2021-02-09 11:42:57 -05:00
|
|
|
android:layout_width="0dp"
|
2022-05-26 17:32:52 -03:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1" />
|
2021-02-09 11:42:57 -05:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2021-02-11 21:48:23 -05:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/conversation_banner_container"
|
2021-02-11 09:53:01 -05:00
|
|
|
android:layout_width="0dp"
|
2021-02-10 18:25:35 -05:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-11 21:48:23 -05:00
|
|
|
android:orientation="vertical"
|
2022-05-26 17:32:52 -03:00
|
|
|
app:layout_constraintEnd_toEndOf="@id/parent_end_guideline"
|
2021-02-11 09:53:01 -05:00
|
|
|
app:layout_constraintStart_toStartOf="@id/parent_start_guideline"
|
2022-05-26 17:32:52 -03:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar">
|
2021-02-10 18:25:35 -05:00
|
|
|
|
2021-07-07 14:23:37 -03:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/voice_note_player_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/voice_note_player"
|
|
|
|
android:layout="@layout/voice_note_player_stub" />
|
|
|
|
|
2021-02-11 21:48:23 -05:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/unverified_banner_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/unverified_banner"
|
|
|
|
android:layout="@layout/conversation_activity_unverified_banner_stub" />
|
2021-02-10 18:25:35 -05:00
|
|
|
|
2021-02-11 21:48:23 -05:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/reminder_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/reminder"
|
|
|
|
android:layout="@layout/conversation_activity_reminderview_stub" />
|
|
|
|
|
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/review_banner_stub"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inflatedId="@+id/review_banner"
|
|
|
|
android:layout="@layout/review_banner_view" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2021-02-10 18:25:35 -05:00
|
|
|
|
2021-01-27 16:34:59 -04:00
|
|
|
<ViewStub
|
|
|
|
android:id="@+id/conversation_reaction_scrubber_stub"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2022-05-26 17:32:52 -03:00
|
|
|
android:inflatedId="@+id/conversation_reaction_scrubber"
|
|
|
|
android:layout="@layout/conversation_reaction_scrubber"
|
2022-02-03 17:06:17 -05:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2021-01-30 11:28:54 -05:00
|
|
|
app:layout_constraintEnd_toEndOf="@+id/parent_end_guideline"
|
2022-05-26 17:32:52 -03:00
|
|
|
app:layout_constraintStart_toStartOf="@+id/parent_start_guideline"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/status_bar_guideline" />
|
2021-01-27 16:34:59 -04:00
|
|
|
|
2021-01-19 21:54:10 -05:00
|
|
|
</org.thoughtcrime.securesms.components.InsetAwareConstraintLayout>
|