From 44cb77389673456600ccbb998ad2f12744df24a1 Mon Sep 17 00:00:00 2001 From: Matt Casey Date: Thu, 2 Feb 2023 01:04:05 +0000 Subject: [PATCH] Limit the size of the screenshot message area Bias toward the start if width is constrained. Bug: 267530170 Test: Manual test on a tablet Change-Id: Idc2127168b44624fc8e41c7cd0a8b45fe6fbca7b --- packages/SystemUI/res/layout/screenshot_static.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/SystemUI/res/layout/screenshot_static.xml b/packages/SystemUI/res/layout/screenshot_static.xml index a748e29ee0413..7e9202c9f89b0 100644 --- a/packages/SystemUI/res/layout/screenshot_static.xml +++ b/packages/SystemUI/res/layout/screenshot_static.xml @@ -149,6 +149,8 @@ app:layout_constraintTop_toBottomOf="@id/guideline" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintWidth_max="450dp" + app:layout_constraintHorizontal_bias="0" >