diff options
author | KhasMek <Boushh@gmail.com> | 2015-12-29 10:15:15 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-01-02 02:15:43 -0800 |
commit | 449be3f51b2054fd55fdf476202215976d8ba84e (patch) | |
tree | 3079bca82a2752320b092fad2398f582f975112e /packages/SystemUI/res/layout | |
parent | 2810d2dda5c1fbc0783cfb86fc2dfc47f4719d6f (diff) | |
download | frameworks_base-449be3f51b2054fd55fdf476202215976d8ba84e.zip frameworks_base-449be3f51b2054fd55fdf476202215976d8ba84e.tar.gz frameworks_base-449be3f51b2054fd55fdf476202215976d8ba84e.tar.bz2 |
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 <Boushh@gmail.com>
Diffstat (limited to 'packages/SystemUI/res/layout')
-rw-r--r-- | packages/SystemUI/res/layout/status_bar_expanded_header.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/res/layout/status_bar_expanded_header.xml b/packages/SystemUI/res/layout/status_bar_expanded_header.xml index d0cc6c1..5effca4 100644 --- a/packages/SystemUI/res/layout/status_bar_expanded_header.xml +++ b/packages/SystemUI/res/layout/status_bar_expanded_header.xml @@ -115,7 +115,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"> <com.android.systemui.statusbar.policy.DateView android:id="@+id/date_collapsed" android:layout_width="wrap_content" @@ -123,6 +122,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="@string/abbrev_wday_month_day_no_year_alarm" /> @@ -133,6 +133,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" /> |