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

Commit b8edaf5d authored by Dave Kover's avatar Dave Kover Committed by Gerrit Code Review
Browse files

Expose values for notification icon in NotificationStation.

When a theme changes the background to white, the notification icons
are not readable. By exposing the dimension values, a themer can
now choose to hide the icon from sight.

Change-Id: I73d8b75218066730c7053a78426e0dedcd9de1d4
parent 75f0ef66
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -30,8 +30,8 @@

        <ImageView
            android:id="@android:id/icon"
            android:layout_width="@*android:dimen/status_bar_icon_size"
            android:layout_height="@*android:dimen/status_bar_icon_size"
            android:layout_width="@dimen/notificationstation_icon_size"
            android:layout_height="@dimen/notificationstation_icon_size"
            android:layout_centerVertical="true"
            android:layout_toEndOf="@id/pkgicon"
            android:layout_marginStart="0dp"
@@ -87,7 +87,7 @@
        android:layout_width="match_parent"
        android:layout_height="@*android:dimen/status_bar_icon_size"
        android:orientation="horizontal"
        android:layout_marginStart="30dp"
        android:layout_marginStart="@dimen/notificationstation_second_row_margin"
        >

        <ImageView
+6 −0
Original line number Diff line number Diff line
@@ -38,4 +38,10 @@
    <!-- Height of the sliding KeyguardSecurityContainer (includes 2x keyguard_security_view_margin) -->
    <dimen name="pa_security_height">400dp</dimen>
    <dimen name="profile_instruction_padding">8dp</dimen>

    <!-- Dimension to control size of notification icon in NotificationStation -->
    <dimen name="notificationstation_icon_size">@*android:dimen/status_bar_icon_size</dimen>

    <!-- Dimension to control marginStart of second row in NotificationStation -->
    <dimen name="notificationstation_second_row_margin">30dp</dimen>
</resources>