From d1736bd7bfd83b8a1ba66cd70c9f04101f7d9764 Mon Sep 17 00:00:00 2001 From: Lyn Han Date: Wed, 1 Jul 2020 11:52:18 -0700 Subject: [PATCH] Fix bubble button alignment Set gravity of linear layout parent to "end" Fixes: 159471266 Test: bubble button aligned right in LTR, left in RTL (w/ & w/o actions) Change-Id: If15a70edca8aada3e2891758e15dc4a771099a04 --- core/res/res/layout/notification_material_action_list.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/core/res/res/layout/notification_material_action_list.xml b/core/res/res/layout/notification_material_action_list.xml index 3615b9e2f9cb1..df271f0f2942c 100644 --- a/core/res/res/layout/notification_material_action_list.xml +++ b/core/res/res/layout/notification_material_action_list.xml @@ -25,6 +25,7 @@ android:id="@+id/actions_container_layout" android:layout_width="match_parent" android:layout_height="wrap_content" + android:gravity="end" android:orientation="horizontal" android:paddingEnd="@dimen/bubble_gone_padding_end" >