Merge "Fix bug where screenshot preview margins were too large" into tm-qpr-dev am: 55d9c878f2

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20670528

Change-Id: I32141108d690664b499c8812d2ada336e7760be5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Miranda Kephart
2022-12-12 20:41:05 +00:00
committed by Automerger Merge Worker
2 changed files with 2 additions and 0 deletions

View File

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

View File

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