Fix bug where screenshot preview margins were too large

Also fixes clipboard overlay (which uses substantially the same layout)

Bug: 261557707
Fix: 261557707
Test: manual (visual change only)
Change-Id: Ic5f3d6b096378e61a8c5808326e1d8b5406a1e9d
This commit is contained in:
Miranda Kephart
2022-12-07 17:53:26 -05:00
parent ba0a4d1647
commit f42e03e9e4
2 changed files with 2 additions and 0 deletions

View File

@@ -102,6 +102,7 @@
android:layout_margin="@dimen/overlay_border_width"
android:layout_height="wrap_content"
android:layout_gravity="center"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintBottom_toBottomOf="@id/preview_border"
app:layout_constraintStart_toStartOf="@id/preview_border"
app:layout_constraintEnd_toEndOf="@id/preview_border"

View File

@@ -100,6 +100,7 @@
android:background="@drawable/overlay_preview_background"
android:adjustViewBounds="true"
android:clickable="true"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintBottom_toBottomOf="@id/screenshot_preview_border"
app:layout_constraintStart_toStartOf="@id/screenshot_preview_border"
app:layout_constraintEnd_toEndOf="@id/screenshot_preview_border"