commit | d1736bd7bfd83b8a1ba66cd70c9f04101f7d9764 | [log] [tgz] |
---|---|---|
author | Lyn Han <lynhan@google.com> | Wed Jul 01 11:52:18 2020 -0700 |
committer | Lyn Han <lynhan@google.com> | Wed Jul 01 18:57:39 2020 +0000 |
tree | f63b9ab77cf70de89cb1b95e8d4e840d56a9494f | |
parent | ffde9e22a8d9e279c8d551b0340bad0d13a0e8ea [diff] |
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
diff --git a/core/res/res/layout/notification_material_action_list.xml b/core/res/res/layout/notification_material_action_list.xml index 3615b9e..df271f0 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" >