Compare commits

...

1 Commits

Author SHA1 Message Date
Sylvia van Os
edfd514b65 Temporarily opt ucrop activity out of Android 15 edge-to-edge
This should be reverted as soon as
https://github.com/Yalantis/uCrop/issues/913 is fixed
2025-01-16 23:16:46 +01:00
3 changed files with 11 additions and 1 deletions

View File

@@ -179,7 +179,7 @@
<activity
android:name=".UCropWrapper"
android:theme="@style/AppTheme.NoActionBar" />
android:theme="@style/TempUCropAndroid15WorkaroundTheme" />
<provider
android:name=".contentprovider.CardsContentProvider"

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- FIXME: Remove this workaround as soon as uCrop no longer needs it: https://github.com/Yalantis/uCrop/issues/913 -->
<style name="TempUCropAndroid15WorkaroundTheme" parent="AppTheme.NoActionBar">
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
</style>
</resources>

View File

@@ -1,4 +1,7 @@
<resources>
<!-- FIXME: Remove this workaround as soon as uCrop no longer needs it: https://github.com/Yalantis/uCrop/issues/913 -->
<style name="TempUCropAndroid15WorkaroundTheme" parent="AppTheme.NoActionBar">
</style>
<style name="AppTheme" parent="Theme.Material3.Light.NoActionBar">
<item name="colorPrimary">@color/md_theme_light_primary</item>