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

Commit c53d6b1d 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 c5e03298
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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">
        <com.android.systemui.statusbar.policy.DateView android:id="@+id/date_collapsed"
            android:layout_width="wrap_content"
@@ -121,6 +120,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"
            />
@@ -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"
            />