Skip to content
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

Open
thilinaktreinetic opened this issue Jan 3, 2025 · 0 comments
Open

Ui over flow Issue with android 15 device #346

thilinaktreinetic opened this issue Jan 3, 2025 · 0 comments

Comments

@thilinaktreinetic
Copy link

thilinaktreinetic commented Jan 3, 2025

Capture

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

 implementation 'com.github.dhaval2404:imagepicker:2.1'

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
}
}

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

No branches or pull requests

1 participant