Skip to content

Handle settings dialog bottom insets#2126

Open
ShubhamWorks02 wants to merge 1 commit into
android:mainfrom
ShubhamWorks02:fix/settings-bottom-insets
Open

Handle settings dialog bottom insets#2126
ShubhamWorks02 wants to merge 1 commit into
android:mainfrom
ShubhamWorks02:fix/settings-bottom-insets

Conversation

@ShubhamWorks02

Copy link
Copy Markdown

Fixes #1598

Applies WindowInsets.safeDrawing padding to the AlertDialog in the settings dialog to prevent it from overlapping with system bars on edge-to-edge layouts.

@ShubhamWorks02 ShubhamWorks02 requested a review from dturner as a code owner June 11, 2026 10:06

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the SettingsDialog to apply windowInsetsPadding(WindowInsets.safeDrawing) to the AlertDialog. The reviewer correctly points out that decorFitsSystemWindows = false must be configured in DialogProperties for the window insets to propagate and function properly within the dialog.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@ShubhamWorks02 ShubhamWorks02 force-pushed the fix/settings-bottom-insets branch from 8eb4c49 to bd75f79 Compare June 11, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Settings doesn't handle bottom insets well

1 participant