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

Commit db173394 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Fix overlapping app icon & info in notifications with large icons.

Bug: 3398728
Bug: 3394785
Change-Id: I50f065d482815612b2b187f1bc4360489d7455e6
parent c38b7c82
Loading
Loading
Loading
Loading
+14 −20
Original line number Diff line number Diff line
@@ -30,27 +30,21 @@
            android:fadingEdge="horizontal"
            />
    </LinearLayout>
    <RelativeLayout
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        >
    <TextView android:id="@+id/info"
        android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Info"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:singleLine="true"
        android:gravity="center_vertical"
            android:layout_alignParentLeft="true"
            android:paddingLeft="8dp"
        android:paddingLeft="4dp"
        android:paddingRight="4dp"
        />
    <ImageView android:id="@+id/icon"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"
            android:layout_alignRight="@id/info"
            android:layout_marginBottom="8dip"
        android:layout_gravity="bottom"
        android:layout_marginBottom="13dip"
        android:scaleType="center"
        />
    </RelativeLayout>
</LinearLayout>
+6 −4
Original line number Diff line number Diff line
@@ -37,11 +37,13 @@
        android:layout_marginTop="-10dp"
        />
    <ImageView android:id="@+id/icon"
        android:layout_width="48dp"
        android:layout_height="32dp"
        android:layout_gravity="top"
        android:layout_marginTop="6dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom"
        android:layout_marginBottom="13dip"
        android:scaleType="center"
        android:layout_marginRight="4dip"
        android:layout_marginLeft="16dip"
        />
</LinearLayout>
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@

    <com.android.systemui.statusbar.LatestItemView android:id="@+id/content"
        android:layout_width="match_parent"
        android:layout_height="64sp"
        android:layout_height="64dp"
        android:layout_alignParentTop="true"
        android:layout_toRightOf="@id/large_icon"
        android:layout_toLeftOf="@id/veto"