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

Commit 9cac338a authored by Amin Shaikh's avatar Amin Shaikh
Browse files

Fix status icon tint in QQS.

- Update the right margin for these icons
- Update the padding for the status bar and QQS status bar to match.

Change-Id: I6358cfe35430d981d813f2cb21a942fa82211d40
Fixes: 77532713
Test: visual
parent ecd98646
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -20,8 +20,9 @@
    android:layout_height="20dp"
    android:layout_marginTop="8dp"
    android:layout_marginBottom="14dp"
    android:layout_marginEnd="@dimen/notification_side_paddings"
    android:layout_below="@id/quick_status_bar_system_icons"
    android:paddingEnd="@dimen/qs_header_tile_margin_horizontal" >
    android:paddingEnd="@dimen/status_bar_padding_end" >

    <com.android.systemui.statusbar.phone.StatusIconContainer
        android:id="@+id/statusIcons"
+4 −3
Original line number Diff line number Diff line
@@ -20,15 +20,16 @@
    android:id="@+id/quick_status_bar_system_icons"
    android:layout_width="match_parent"
    android:layout_height="@*android:dimen/quick_qs_offset_height"
    android:layout_marginRight="@dimen/notification_side_paddings"
    android:layout_marginLeft="@dimen/notification_side_paddings"
    android:layout_alignParentEnd="true"
    android:clipChildren="false"
    android:clipToPadding="false"
    android:gravity="center"
    android:paddingStart="8dp"
    android:paddingEnd="8dp"
    android:paddingStart="@dimen/status_bar_padding_start"
    android:paddingEnd="@dimen/status_bar_padding_end"
    android:orientation="horizontal">


    <com.android.systemui.statusbar.policy.Clock
        android:id="@+id/clock"
        android:layout_width="wrap_content"
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingStart="@dimen/status_bar_padding_start"
        android:paddingEnd="8dp"
        android:paddingEnd="@dimen/status_bar_padding_end"
        android:orientation="horizontal"
        >
        <ViewStub
+3 −0
Original line number Diff line number Diff line
@@ -185,6 +185,9 @@
    <!-- the padding on the start of the statusbar -->
    <dimen name="status_bar_padding_start">6dp</dimen>

    <!-- the padding on the end of the statusbar -->
    <dimen name="status_bar_padding_end">8dp</dimen>

    <!-- the radius of the overflow dot in the status bar -->
    <dimen name="overflow_dot_radius">1dp</dimen>

+2 −2
Original line number Diff line number Diff line
@@ -213,9 +213,9 @@ public class QuickStatusBarHeader extends RelativeLayout implements

    private int fillColorForIntensity(float intensity, Context context) {
        if (intensity == 0) {
            return context.getColor(R.color.light_mode_icon_color_dual_tone_fill);
            return context.getColor(R.color.light_mode_icon_color_single_tone);
        }
        return context.getColor(R.color.dark_mode_icon_color_dual_tone_fill);
        return context.getColor(R.color.dark_mode_icon_color_single_tone);
    }

    @Override