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

Commit 3b177758 authored by Jiaming Cheng's avatar Jiaming Cheng
Browse files

[QSDetailedView] Remove excessive padding in Bluetooth details view

Bug: b/378514021
Flag: com.android.systemui.qs_tile_detailed_view
Test: Style change only. Existing unit tests still pass.
Change-Id: I42e861d7cb8d1644d48077402f4ffd25770ac171
parent ed1e73a0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -208,10 +208,10 @@
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintTop_toBottomOf="@+id/see_all_button"
                app:layout_constraintBottom_toBottomOf="parent"
                android:background="@drawable/settingslib_entry_bg_off"
                android:gravity="center"
                android:visibility="gone">
                android:visibility="gone"
                android:layout_marginTop="@dimen/tile_details_bottom_padding">

                <FrameLayout
                    android:layout_width="@dimen/tile_details_button_size"
+9 −4
Original line number Diff line number Diff line
@@ -253,11 +253,16 @@ constructor(
                    }
                }
        }
        // If it's in the Compose-based detailed view, min and max height are set in the
        // `TileDetails`.
        if (isInDialog) {
            scrollViewContent.apply {
                minimumHeight =
                    resources.getDimensionPixelSize(initialUiProperties.scrollViewMinHeightResId)
                layoutParams.height = maxOf(cachedContentHeight, minimumHeight)
            }
        }

        updateDetailsUI(dialog, detailsUIState)
    }