From 42c8b4e7341f90ebb96ed28ba78c672f9ab257a1 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Thu, 15 Oct 2015 13:46:47 -0400 Subject: [PATCH] Make QS header less broken on tablets Instead have the prototype header a little broken Bug: 24963222 Change-Id: Ic6f2aa2dc003fbb603feb01bef3af79314d6f24e --- .../SystemUI/res/layout/quick_status_bar_expanded_header.xml | 2 ++ packages/SystemUI/res/layout/status_bar_expanded.xml | 3 +-- packages/SystemUI/res/layout/status_bar_expanded_header.xml | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/res/layout/quick_status_bar_expanded_header.xml b/packages/SystemUI/res/layout/quick_status_bar_expanded_header.xml index d778c98dd43e3..0b8da8374d77a 100644 --- a/packages/SystemUI/res/layout/quick_status_bar_expanded_header.xml +++ b/packages/SystemUI/res/layout/quick_status_bar_expanded_header.xml @@ -23,6 +23,8 @@ android:layout_width="@dimen/notification_panel_width" android:layout_height="@dimen/status_bar_header_height" android:layout_gravity="@integer/notification_panel_layout_gravity" + android:paddingStart="@dimen/notification_side_padding" + android:paddingEnd="@dimen/notification_side_padding" android:baselineAligned="false" android:elevation="4dp" android:background="@drawable/notification_header_bg" diff --git a/packages/SystemUI/res/layout/status_bar_expanded.xml b/packages/SystemUI/res/layout/status_bar_expanded.xml index a64dbbdeb2e38..bfa13e2be9b42 100644 --- a/packages/SystemUI/res/layout/status_bar_expanded.xml +++ b/packages/SystemUI/res/layout/status_bar_expanded.xml @@ -102,8 +102,7 @@ android:id="@+id/status_bar_header" android:layout_width="@dimen/notification_panel_width" android:layout_height="@dimen/status_bar_header_height" - android:layout_marginStart="@dimen/notification_side_padding" - android:layout_marginEnd="@dimen/notification_side_padding" /> + android:layout_gravity="@integer/notification_panel_layout_gravity" />