From 3679bf58fb2f59745b416b26126b7e2a673c54d8 Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Tue, 16 Oct 2012 21:30:28 -0400 Subject: Quickening. + Baseline align all header elements. + Make clock clickable. + Remove clock tile. + Reorder tiles. + Hide status bar behind panel on phones. + Make status bar peek animation show the whole header on phones. + Stop hiding status bar bits on phones. Bug: 7350584 // baseline align header, make clock clickable, Bug: 7351760 // hide status bar behind panel Change-Id: I888752b64c56e80c3f5581fd8ee1cfd7c50eab7c --- .../SystemUI/res/layout/status_bar_expanded.xml | 2 +- .../res/layout/status_bar_expanded_header.xml | 23 ++++++++++++---------- packages/SystemUI/res/layout/super_status_bar.xml | 1 - 3 files changed, 14 insertions(+), 12 deletions(-) (limited to 'packages/SystemUI/res/layout') diff --git a/packages/SystemUI/res/layout/status_bar_expanded.xml b/packages/SystemUI/res/layout/status_bar_expanded.xml index 5408f76..b71025e 100644 --- a/packages/SystemUI/res/layout/status_bar_expanded.xml +++ b/packages/SystemUI/res/layout/status_bar_expanded.xml @@ -63,7 +63,7 @@ android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.EmergencyOnly" android:layout_height="wrap_content" android:layout_width="match_parent" - android:paddingBottom="4dp" + android:padding="4dp" android:gravity="center" android:visibility="gone" /> diff --git a/packages/SystemUI/res/layout/status_bar_expanded_header.xml b/packages/SystemUI/res/layout/status_bar_expanded_header.xml index c13405a..03f03e2 100644 --- a/packages/SystemUI/res/layout/status_bar_expanded_header.xml +++ b/packages/SystemUI/res/layout/status_bar_expanded_header.xml @@ -20,37 +20,40 @@ xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" android:id="@+id/header" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="@dimen/notification_panel_header_height" android:background="@drawable/notification_header_bg" android:orientation="horizontal" android:gravity="center_vertical" android:baselineAligned="false" > - - +