From c3d57ca64f53bdc3be8d7b8028f0bc82d10686a5 Mon Sep 17 00:00:00 2001 From: Steve Elliott Date: Mon, 20 May 2019 15:01:37 -0400 Subject: [PATCH] Support RTL in notification section header Fixes: 132444640 Test: Have gentle notifications in the shade, change to any RTL language, view notification shade Change-Id: Iffe00be0f60fb7c6315d050c60351fe7a0ab2e1f --- .../res/layout/status_bar_notification_section_header.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/res/layout/status_bar_notification_section_header.xml b/packages/SystemUI/res/layout/status_bar_notification_section_header.xml index 2b210064023be..744c181bb0de5 100644 --- a/packages/SystemUI/res/layout/status_bar_notification_section_header.xml +++ b/packages/SystemUI/res/layout/status_bar_notification_section_header.xml @@ -43,7 +43,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" - android:layout_marginLeft="@dimen/notification_section_header_padding_left" + android:layout_marginStart="@dimen/notification_section_header_padding_left" android:text="@string/notification_section_header_gentle" android:textSize="12sp" android:textColor="@color/notification_section_header_label_color" @@ -52,7 +52,7 @@ android:id="@+id/btn_clear_all" android:layout_width="@dimen/notification_section_header_height" android:layout_height="@dimen/notification_section_header_height" - android:layout_marginRight="4dp" + android:layout_marginEnd="4dp" android:src="@drawable/status_bar_notification_section_header_clear_btn" android:contentDescription="@string/accessibility_notification_section_header_gentle_clear_all" />