From 747f25ccf3771fb69f46bea4e10537400915d223 Mon Sep 17 00:00:00 2001 From: Geoffrey Pitsch Date: Fri, 12 May 2017 14:19:29 -0400 Subject: [PATCH] Center switch vertically with primary text Fixes: 38248336 Test: manual Change-Id: I48bfb244abff47c16ca1f24c0027448a2a238015 --- .../SystemUI/res/layout/notification_info.xml | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/packages/SystemUI/res/layout/notification_info.xml b/packages/SystemUI/res/layout/notification_info.xml index 6fe00c02508fb..bbd315ee87769 100644 --- a/packages/SystemUI/res/layout/notification_info.xml +++ b/packages/SystemUI/res/layout/notification_info.xml @@ -71,51 +71,51 @@ android:layout_height="wrap_content" android:layout_marginBottom="20dp" android:layout_marginEnd="@*android:dimen/notification_content_margin_end" - android:orientation="horizontal"> + android:orientation="vertical"> + android:orientation="horizontal"> - - + - - - + android:layout_gravity="end|center_vertical" + android:contentDescription="@string/notification_channel_switch_accessibility" + android:background="@null" /> - - + + android:text="@string/notification_channel_disabled" + style="@style/TextAppearance.NotificationInfo.Secondary.Warning" /> + + +