Fix conversation banner animation bugs.
When in doubt, put it in a FrameLayout.
This commit is contained in:
parent
26866a7b2c
commit
a5b39a8f17
1 changed files with 34 additions and 26 deletions
|
@ -138,14 +138,20 @@
|
||||||
|
|
||||||
</org.thoughtcrime.securesms.util.views.DarkOverflowToolbar>
|
</org.thoughtcrime.securesms.util.views.DarkOverflowToolbar>
|
||||||
|
|
||||||
<org.thoughtcrime.securesms.conversation.v2.ConversationBannerView
|
<FrameLayout
|
||||||
android:id="@+id/conversation_banner"
|
android:id="@+id/conversation_banner_frame"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:clipChildren="true"
|
||||||
app:layout_constraintEnd_toEndOf="@id/parent_end_guideline"
|
app:layout_constraintEnd_toEndOf="@id/parent_end_guideline"
|
||||||
app:layout_constraintStart_toStartOf="@id/parent_start_guideline"
|
app:layout_constraintStart_toStartOf="@id/parent_start_guideline"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/toolbar">
|
app:layout_constraintTop_toBottomOf="@+id/toolbar">
|
||||||
|
|
||||||
|
<org.thoughtcrime.securesms.conversation.v2.ConversationBannerView
|
||||||
|
android:id="@+id/conversation_banner"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<ViewStub
|
<ViewStub
|
||||||
android:id="@+id/voice_note_player_stub"
|
android:id="@+id/voice_note_player_stub"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -176,6 +182,8 @@
|
||||||
|
|
||||||
</org.thoughtcrime.securesms.conversation.v2.ConversationBannerView>
|
</org.thoughtcrime.securesms.conversation.v2.ConversationBannerView>
|
||||||
|
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
<org.thoughtcrime.securesms.components.ConversationScrollToView
|
<org.thoughtcrime.securesms.components.ConversationScrollToView
|
||||||
android:id="@+id/scroll_to_mention"
|
android:id="@+id/scroll_to_mention"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|
Loading…
Add table
Reference in a new issue