Skip to content

Commit

Permalink
Fix landscape boundaries of conversation activity.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Feb 11, 2021
1 parent fc41fb5 commit 5e12235
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions app/src/main/res/layout/conversation_activity.xml
Expand Up @@ -9,11 +9,13 @@
<include layout="@layout/system_ui_guidelines" />

<ImageView
android:importantForAccessibility="no"
android:id="@+id/conversation_wallpaper"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="match_parent"
android:scaleType="centerCrop"/>
android:scaleType="centerCrop"
android:importantForAccessibility="no"
app:layout_constraintStart_toStartOf="@id/parent_start_guideline"
app:layout_constraintEnd_toEndOf="@id/parent_end_guideline" />

<View
android:id="@+id/conversation_wallpaper_dim"
Expand Down Expand Up @@ -150,7 +152,7 @@

<org.thoughtcrime.securesms.util.views.DarkOverflowToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="?attr/actionBarSize"
android:background="@color/conversation_toolbar_color"
android:theme="?attr/actionBarStyle"
Expand Down Expand Up @@ -220,10 +222,12 @@

<View
android:id="@+id/conversation_toolbar_shadow"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="5dp"
android:background="@drawable/toolbar_shadow"
app:layout_constraintTop_toBottomOf="@id/toolbar"/>
app:layout_constraintTop_toBottomOf="@id/toolbar"
app:layout_constraintStart_toStartOf="@id/parent_start_guideline"
app:layout_constraintEnd_toEndOf="@id/parent_end_guideline"/>

<ViewStub
android:id="@+id/conversation_reaction_scrubber_stub"
Expand Down

0 comments on commit 5e12235

Please sign in to comment.