2019-12-03 17:57:21 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-12-04 09:59:27 -04:00
|
|
|
<org.thoughtcrime.securesms.conversation.ConversationReactionOverlay xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-12-03 17:57:21 -04:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/conversation_reaction_scrubber"
|
2021-01-24 02:22:09 -05:00
|
|
|
android:layout_width="0dp"
|
2021-01-19 21:54:10 -05:00
|
|
|
android:layout_height="0dp"
|
2019-12-03 17:57:21 -04:00
|
|
|
android:elevation="1000dp"
|
|
|
|
android:visibility="gone"
|
2021-01-28 14:24:54 -04:00
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/navigation_bar_guideline"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/status_bar_guideline"
|
2019-12-03 17:57:21 -04:00
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.MaskView
|
|
|
|
android:id="@+id/conversation_reaction_mask"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:alpha="0"
|
2020-11-10 10:20:54 -05:00
|
|
|
android:background="@color/reactions_screen_shade_color" />
|
2019-12-03 17:57:21 -04:00
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/conversation_reaction_toolbar"
|
|
|
|
layout="@layout/conversation_reaction_long_press_toolbar" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/conversation_reaction_scrubber_background"
|
2019-12-04 09:59:27 -04:00
|
|
|
android:layout_width="@dimen/reaction_scrubber_width"
|
2019-12-03 17:57:21 -04:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:layout_marginTop="40dp"
|
|
|
|
android:layout_marginBottom="40dp"
|
|
|
|
android:alpha="0"
|
2020-11-10 10:20:54 -05:00
|
|
|
android:background="@drawable/conversation_reaction_overlay_background"
|
2020-07-29 13:44:23 -03:00
|
|
|
android:elevation="4dp"
|
|
|
|
tools:alpha="1" />
|
2019-12-03 17:57:21 -04:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/conversation_reaction_scrubber_foreground"
|
2019-12-04 09:59:27 -04:00
|
|
|
android:layout_width="@dimen/reaction_scrubber_width"
|
2019-12-03 17:57:21 -04:00
|
|
|
android:layout_height="@dimen/conversation_reaction_scrubber_height"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:elevation="4dp">
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/conversation_reaction_current_selection_indicator"
|
|
|
|
android:layout_width="52dp"
|
|
|
|
android:layout_height="52dp"
|
|
|
|
android:alpha="0"
|
2020-11-10 10:20:54 -05:00
|
|
|
android:background="@drawable/reactions_old_background"
|
2019-12-03 17:57:21 -04:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="@id/reaction_3"
|
|
|
|
app:layout_constraintRight_toRightOf="@id/reaction_3"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2020-05-05 14:53:57 -03:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiImageView
|
2019-12-03 17:57:21 -04:00
|
|
|
android:id="@+id/reaction_1"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/reaction_2"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-12-04 09:59:27 -04:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:alpha="1"
|
|
|
|
tools:translationY="0dp" />
|
2019-12-03 17:57:21 -04:00
|
|
|
|
2020-05-05 14:53:57 -03:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiImageView
|
2019-12-03 17:57:21 -04:00
|
|
|
android:id="@+id/reaction_2"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/reaction_3"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/reaction_1"
|
2019-12-04 09:59:27 -04:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:alpha="1"
|
|
|
|
tools:translationY="0dp" />
|
2019-12-03 17:57:21 -04:00
|
|
|
|
2020-05-05 14:53:57 -03:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiImageView
|
2019-12-03 17:57:21 -04:00
|
|
|
android:id="@+id/reaction_3"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/reaction_4"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/reaction_2"
|
2019-12-04 09:59:27 -04:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:alpha="1"
|
|
|
|
tools:translationY="0dp" />
|
2019-12-03 17:57:21 -04:00
|
|
|
|
2020-05-05 14:53:57 -03:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiImageView
|
2019-12-03 17:57:21 -04:00
|
|
|
android:id="@+id/reaction_4"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/reaction_5"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/reaction_3"
|
2019-12-04 09:59:27 -04:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:alpha="1"
|
|
|
|
tools:translationY="0dp" />
|
2019-12-03 17:57:21 -04:00
|
|
|
|
2020-05-05 14:53:57 -03:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiImageView
|
2019-12-03 17:57:21 -04:00
|
|
|
android:id="@+id/reaction_5"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/reaction_6"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/reaction_4"
|
2019-12-04 09:59:27 -04:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:alpha="1"
|
|
|
|
tools:translationY="0dp" />
|
2019-12-03 17:57:21 -04:00
|
|
|
|
2020-05-05 14:53:57 -03:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiImageView
|
2019-12-03 17:57:21 -04:00
|
|
|
android:id="@+id/reaction_6"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/reaction_7"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/reaction_5"
|
2019-12-04 09:59:27 -04:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:alpha="1"
|
|
|
|
tools:translationY="0dp" />
|
2019-12-03 17:57:21 -04:00
|
|
|
|
2020-05-05 14:53:57 -03:00
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiImageView
|
2019-12-03 17:57:21 -04:00
|
|
|
android:id="@+id/reaction_7"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:translationY="@dimen/reaction_scrubber_anim_start_translation_y"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/reaction_6"
|
2019-12-04 09:59:27 -04:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:alpha="1"
|
|
|
|
tools:translationY="0dp" />
|
2019-12-03 17:57:21 -04:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</org.thoughtcrime.securesms.conversation.ConversationReactionOverlay>
|