Skip to content

Ui over flow Issue with android 15 device  #346

@thilinaktreinetic

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions