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

Commit a2ed9b6b authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Fix snooze view

* Remove indent to fix content alignment in any notification section.
* Background color had not been updated and made it look transparent.
* Title case for Undo.

Bug: 184982648
Fixes: 180123838
Test: visual inspection
Change-Id: I5648a0a530931ee7f268e4b64eac4dd71015f593
parent 5683fda3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -17,10 +17,11 @@

<com.android.systemui.statusbar.notification.row.NotificationSnooze
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:background="?android:attr/colorBackground"
    android:background="?androidprv:attr/colorSurface"
    android:theme="@style/Theme.SystemUI">

    <RelativeLayout
@@ -34,7 +35,7 @@
            android:layout_height="wrap_content"
            android:layout_alignParentStart="true"
            android:layout_centerVertical="true"
            android:paddingStart="@*android:dimen/notification_content_margin_start"
            android:paddingStart="@*android:dimen/notification_content_margin_end"
            android:textColor="?android:attr/textColorPrimary"
            android:paddingEnd="4dp"/>

+2 −2
Original line number Diff line number Diff line
@@ -17,8 +17,8 @@
<TextView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="48dp"
        android:layout_marginStart="@*android:dimen/notification_content_margin_start"
        android:layout_height="@*android:dimen/notification_headerless_min_height"
        android:layout_marginStart="@*android:dimen/notification_content_margin_end"
        android:layout_marginEnd="@*android:dimen/notification_content_margin_end"
        android:gravity="center_vertical"
        android:textSize="14sp"
+1 −1
Original line number Diff line number Diff line
@@ -2012,7 +2012,7 @@
    <string name="notification_menu_settings_action">Settings</string>

    <!-- Notification: Snooze panel: Snooze undo button label. [CHAR LIMIT=50]-->
    <string name="snooze_undo">UNDO</string>
    <string name="snooze_undo">Undo</string>

    <!-- Notification: Snooze panel: message indicating how long the notification was snoozed for. [CHAR LIMIT=100]-->
    <string name="snoozed_for_time">Snoozed for <xliff:g id="time_amount" example="15 minutes">%1$s</xliff:g></string>