From 8418b0ad88e0a1cb795e505258da54fa0b142b24 Mon Sep 17 00:00:00 2001 From: Miranda Kephart Date: Fri, 2 Jul 2021 14:38:59 -0400 Subject: [PATCH] Fix LSS->Markup transition in RTL We were constraining the transition view to the start, but adjusting its location using paddingLeft, etc, which led to incorrect behavior in RTL. Instead constrain to left so that everything is consistent. Bug: 190757843 Fix: 190757843 Test: manual Change-Id: I07becea2ee0e11d74a1aac350aa7d0693d712bfb --- packages/SystemUI/res/layout/long_screenshot.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/res/layout/long_screenshot.xml b/packages/SystemUI/res/layout/long_screenshot.xml index 8a2c8f09948d2..04bd7b9077aae 100644 --- a/packages/SystemUI/res/layout/long_screenshot.xml +++ b/packages/SystemUI/res/layout/long_screenshot.xml @@ -159,7 +159,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintTop_toTopOf="@id/preview" - app:layout_constraintStart_toStartOf="parent" + app:layout_constraintLeft_toLeftOf="parent" android:scaleType="centerCrop" android:visibility="invisible" />