Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 449be3f5 authored by KhasMek's avatar KhasMek Committed by Gerrit Code Review
Browse files

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: default avatarKhasMek <Boushh@gmail.com>
parent 2810d2dd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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"
            />