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

Commit a755e323 authored by Jiaming Cheng's avatar Jiaming Cheng Committed by Android (Google) Code Review
Browse files

Merge "[QSDetailedView] Remove excessive padding in Bluetooth details view" into main

parents 6f92689b 3b177758
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)
    }