Skip to content

android16/api36 edge-to-edge opt out removed #566

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

Open
qeepcologne opened this issue Mar 18, 2025 · 2 comments
Open

android16/api36 edge-to-edge opt out removed #566

qeepcologne opened this issue Mar 18, 2025 · 2 comments

Comments

@qeepcologne
Copy link

qeepcologne commented Mar 18, 2025

the

android:windowLayoutInDisplayCutoutMode="never"

is ignored when

compileSdk = 36
targetSdk = 36

and the title with the confirm and cancel is overlapping the cutout.

i fixed that by replacing the android dependency with a fork which
has already fixed these problems (and is much simpler without adding overriden v35 style).

dependencies {
    implementation("com.github.jens-muenker:uCrop-n-Edit:4.1.0")
} 
configurations.implementation {
    exclude(group = "com.github.yalantis", module = "ucrop")
}

this works, because it uses the same
com.yalantis.ucrop.UCropActivity
but it is a somewhat hacky and may break with future versions.

What do you think about updating the dependency in the plugin?

@cristoj
Copy link

cristoj commented Apr 14, 2025

In my case I had to include it like this:

dependencies {
    implementation("com.github.jens-muenker:uCrop-n-Edit:4.1.0"){
        exclude group: 'com.github.yalantis', module: 'ucrop'
    }
}

@schnaser
Copy link

I took a different approach by overriding the style and adding padding myself: #569 (comment)

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

3 participants