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

Commit 85e585f9 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Make sure that icons are right aligned in QQS

In QQS with a center inset, the right side container is 0dp to take all
of the space. As we want its content right aligned, we put it in a
FrameLayout.

This has no effect when there's no inset.

Test: manual with and without inset
Fixes: 191039767
Change-Id: I8b70777ee79f8647f679ffb6a9a4703e50403dcd
parent 0245b5cb
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -59,11 +59,16 @@
        android:visibility="gone"
        />

    <LinearLayout
    <FrameLayout
        android:id="@+id/rightLayout"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:gravity="center_vertical|end"
        android:gravity="end"
        >
    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_gravity="center_vertical|end"
        >
        <com.android.systemui.statusbar.phone.StatusIconContainer
            android:id="@+id/statusIcons"
@@ -80,4 +85,6 @@
            android:paddingEnd="2dp" />

    </LinearLayout>
    </FrameLayout>

</LinearLayout>