From: KhasMek Date: Tue, 29 Dec 2015 17:15:15 +0000 (-0700) Subject: statusbar: fix overlapping backgrounds when expanded X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fframeworks-base.git;a=commitdiff_plain;h=c53d6b1d06715788192ab03979c3c9bb43eb61b6 statusbar: fix overlapping backgrounds when expanded Previous to this patch time, date, and weather all had double backgrounds causing a really unpleasant animation when pressed or long pressed. This removes the overlap and fixes the aesthetics. Change-Id: If664c1892212bfaf4d53b00729f0c5613272b66c Signed-off-by: KhasMek --- diff --git a/packages/SystemUI/res/layout/status_bar_expanded_header.xml b/packages/SystemUI/res/layout/status_bar_expanded_header.xml index efa273516dbf..4bb518e092f1 100644 --- a/packages/SystemUI/res/layout/status_bar_expanded_header.xml +++ b/packages/SystemUI/res/layout/status_bar_expanded_header.xml @@ -113,7 +113,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/clock_collapsed_bottom_margin" - android:background="@drawable/ripple_drawable" android:layout_alignParentBottom="true"> @@ -131,6 +131,7 @@ android:layout_marginStart="16dp" android:singleLine="true" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" + android:background="@drawable/ripple_drawable" android:layout_below="@id/clock" systemui:datePattern="eeeeMMMMd" />