-
Notifications
You must be signed in to change notification settings - Fork 352
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
Ui over flow Issue with android 15 device #346
Comments
Im having the same problem, pixel 8 pro with android 15 |
I am having same issue with Xiaomi device, not able to accept or decline cropped image |
Same here |
same issue with Google Pixel 8 |
Since this repo seems to be stale: In case someone stumbles upon this thread, I fixed this issue in my fork, see: |
You need to add this to your project manifest:
Then you need to edit your themes.xml (or styles.xml etc) and add:
and also create a v35 copy of your themes.xml (or whatever) containing:
If that doesn't work let me know, I did make other changes (which didn't work) but maybe they helped in someway I haven't figured out yet. |
Summary
Edit Phot screen overflowed status bar and user cant click correct button
Android version
Android 15
Impacted devices
Google pixel 9
Installation method
gradle
SDK version
Other information
we can fix it adding this to activity oncreate method add it and update the pluging
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
window.decorView.setOnApplyWindowInsetsListener { v, insets ->
val bars = insets.getInsets(
WindowInsetsCompat.Type.systemBars() or WindowInsetsCompat.Type.displayCutout()
)
v.updatePadding(
left = bars.left,
top = bars.top,
right = bars.right,
bottom = bars.bottom
)
WindowInsets.CONSUMED
}
}
The text was updated successfully, but these errors were encountered: