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

Commit 105a252a authored by Yining Liu's avatar Yining Liu Committed by Automerger Merge Worker
Browse files

Merge "Fix overlapping Manage and Clear all buttons when display scale is at...

Merge "Fix overlapping Manage and Clear all buttons when display scale is at maximum" into udc-qpr-dev am: 911e2049

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23934566



Change-Id: I285010b8019047afd6d2990dd66febb87376dd30
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 8e4c4ae0 911e2049
Loading
Loading
Loading
Loading
+41 −28
Original line number Diff line number Diff line
@@ -17,10 +17,9 @@
<!-- Extends Framelayout -->
<com.android.systemui.statusbar.notification.row.FooterView
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingStart="16dp"
        android:paddingEnd="16dp"
        android:visibility="gone">
    <com.android.systemui.statusbar.AlphaOptimizedFrameLayout
        android:id="@+id/content"
@@ -37,13 +36,22 @@
            android:visibility="gone"
            android:textAppearance="?android:attr/textAppearanceButton"
            android:text="@string/unlock_to_see_notif_text"/>
        <androidx.constraintlayout.widget.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            >
            <com.android.systemui.statusbar.notification.row.FooterViewButton
                style="@style/TextAppearance.NotificationSectionHeaderButton"
                android:id="@+id/manage_text"
                android:layout_width="wrap_content"
                android:layout_height="48dp"
                android:layout_marginTop="12dp"
            android:layout_gravity="start"
                android:layout_marginStart="16dp"
                app:layout_constraintVertical_bias="0.0"
                app:layout_constraintHorizontal_chainStyle="spread_inside"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintEnd_toStartOf="@id/dismiss_text"
                android:background="@drawable/notif_footer_btn_background"
                android:focusable="true"
                android:textColor="@color/notif_pill_text"
@@ -56,12 +64,17 @@
                android:layout_width="wrap_content"
                android:layout_height="48dp"
                android:layout_marginTop="12dp"
            android:layout_gravity="end"
                android:layout_marginEnd="16dp"
                app:layout_constraintVertical_bias="1.0"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                app:layout_constraintStart_toEndOf="@id/manage_text"
                android:background="@drawable/notif_footer_btn_background"
                android:focusable="true"
                android:textColor="@color/notif_pill_text"
                android:contentDescription="@string/accessibility_clear_all"
                android:text="@string/clear_all_notifications_text"
                />
        </androidx.constraintlayout.widget.ConstraintLayout>
    </com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
</com.android.systemui.statusbar.notification.row.FooterView>