From 4fe5af7138438031fca54169dedf2328409a0553 Mon Sep 17 00:00:00 2001 From: Beth Thibodeau Date: Fri, 16 Dec 2022 10:15:48 -0600 Subject: [PATCH] Fix small buttons in collapsed layout Updates the end barrier to be constrained by the large play/pause button rather than parent. This fixes the small buttons not being visible in the collapsed layout if the large play/pause button is not shown. Test: manual - verify buttons for both layout types in LTR and RTL Fixes: 262562516 Change-Id: Ib1d72aefd89dfc7b977a743959e40db7359010fa --- packages/SystemUI/res/layout/media_session_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/res/layout/media_session_view.xml b/packages/SystemUI/res/layout/media_session_view.xml index 13c9a5ea05b10..95aefab328df5 100644 --- a/packages/SystemUI/res/layout/media_session_view.xml +++ b/packages/SystemUI/res/layout/media_session_view.xml @@ -186,7 +186,7 @@ app:layout_constraintBottom_toBottomOf="parent" app:barrierDirection="end" app:constraint_referenced_ids="actionPrev,media_scrubbing_elapsed_time,media_progress_bar,actionNext,media_scrubbing_total_time,action0,action1,action2,action3,action4" - app:layout_constraintStart_toStartOf="parent" + app:layout_constraintRight_toRightOf="@id/actionPlayPause" />