-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small UI bug with Android 15 #2690
Comments
Thanks! If anyone wants to figure out a quick fix for this one that'd benefit everybody, feel free to! |
The quick ugly workaround is to apply |
SO i have 2 suggestions If you are using the Scaffold as the parent layout have you tried giving the top padding to its child like this in my cases this works like a charm and automatically adjust the top for me.
and if these are not the solution (most probably bug in Android's end) one other workaround would be to calculate the screen height and the subtracting a safe amount of padding from it and and giving it as the top padding of that top view. |
The suggestions made above don't help here because this screen is not made in Compose. This is an activity with an XML view. The official solution (which can be seen here) depends on AndroidX Core library, which is currently not used in leakcanary-android-core module. I could try to fix this in a PR but I would need to add that library, and I don't know if maintainers want to add it to this module or if it could cause other problems. @pyricau what do you think? |
Description
Small UI bug.
Steps to Reproduce
Build with targetSDK 35
This was more or less expected due to Android 15 inset changes, but I did expect the "action bar" to go under the status bar, not the bar to be correct and the content completely missplaced and under.
The text was updated successfully, but these errors were encountered: