From 300d3d14c3ddbba485fcb494c3a61464994b8d7b Mon Sep 17 00:00:00 2001 From: Yuri Lin Date: Tue, 17 Sep 2024 15:41:04 -0400 Subject: [PATCH] Right-align "end time" text on the schedule setter When the "end time" text label is wider than the actual time, then aligning it with the start of the time causes it to wrap, even when there's plenty more space on the screen. This change right-aligns it in all cases (even when it's shorter), as it's hard to get all three of "right-aligned when too long", "left-aligned to the time display when short enough", and "wraps when it hits the center line instead of overflowing". Fixes: 367054151 Test: manual, in English & Danish Flag: android.app.modes_ui Change-Id: I106864d6fb09aeac5fcc8d22e8d3d67b1b31ce4e --- res/layout/modes_set_schedule_layout.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/res/layout/modes_set_schedule_layout.xml b/res/layout/modes_set_schedule_layout.xml index d53e2e42a91..e90dc7c5420 100644 --- a/res/layout/modes_set_schedule_layout.xml +++ b/res/layout/modes_set_schedule_layout.xml @@ -73,18 +73,17 @@ android:orientation="vertical" app:layout_constraintGuide_percent="0.5" /> - +