feat(ui): implement proper edge-to-edge support for Android 15 (targetSdk 35)#361
Open
MohamedMBG wants to merge 7 commits intoGrakovNe:mainfrom
Open
feat(ui): implement proper edge-to-edge support for Android 15 (targetSdk 35)#361MohamedMBG wants to merge 7 commits intoGrakovNe:mainfrom
MohamedMBG wants to merge 7 commits intoGrakovNe:mainfrom
Conversation
added 6 commits
March 2, 2026 14:28
…and various settings.
…ponents - Configure edge-to-edge handling in Theme - Update NavigationBar and MiniPlayer to respect system insets - Adjust placeholder composable for proper layout alignment
…and various settings.
Owner
|
Sorry, but I still can see the same issue with the scroll bar: https://youtube.com/shorts/u4Ozzcdn2-U |
Contributor
Author
|
I have made some modifications you can check now @GrakovNe |
Owner
|
Sorry to say it, but nothing has been changed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fully enables proper edge-to-edge rendering across the app in compliance with Android 15 (API 35).
Previously, several screens were constrained by hardcoded systemBarsPadding() modifiers, which prevented true immersive rendering. These constraints have now been removed, allowing content to draw behind system bars while still correctly respecting safe areas through proper inset handling.
The result is a more modern, immersive UI that behaves correctly across light/dark themes and gesture navigation.
Changes Made
Updated LissenTheme to correctly configure:
isAppearanceLightNavigationBars
isAppearanceLightStatusBars
Ensures system bars dynamically match the active light/dark theme.
Removed hardcoded Modifier.systemBarsPadding() across:
LibraryScreen
PlayerScreen
LoginScreen
SettingsScreen and its derivatives
This allows backgrounds to render edge-to-edge as intended.
LibraryScreen
Restored correct padding using innerPadding from Scaffold
Ensures LazyColumn content remains readable and does not overlap status/navigation bars
PullRefreshIndicator
Adjusted alignment to prevent overlap with translucent TopAppBar
NavigationBarComposable & NavigationBarPlaceholderComposable
Removed fixed 64.dp height constraint
Now dynamically adapts using navigationBarsPadding()
MiniPlayerComposable
Added explicit navigationBarsPadding() to ensure correct floating behavior above system gesture areas
Added AppPreview.kt
Enables isolated layout validation
Improves edge-to-edge testing inside @Preview blocks