Skip to content

Commit 3d5776c

Browse files
Notch Issue Fix 08-05-2025 (#2168)
1 parent 748898a commit 3d5776c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

android/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424

2525
<activity
2626
android:name="com.yalantis.ucrop.UCropActivity"
27-
android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
27+
android:theme="@style/UCropTheme"
28+
android:exported="false" />
2829

2930

3031
<!-- Prompt Google Play services to install the backported photo picker module -->
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<resources>
2+
<style name="UCropTheme" parent="Theme.AppCompat.Light.NoActionBar">
3+
<item name="android:windowIsFloating">true</item>
4+
<item name="android:windowMinWidthMajor">100%</item>
5+
<item name="android:windowMinWidthMinor">100%</item>
6+
<item name="android:windowContentOverlay">@null</item>
7+
</style>
8+
</resources>

0 commit comments

Comments
 (0)