Skip to content

Commit ef510bc

Browse files
committed
chore: update themes to use EdgeToEdge styles and add edge-to-edge display support
1 parent 3447279 commit ef510bc

4 files changed

Lines changed: 17 additions & 2 deletions

File tree

android/app/src/main/res/values/styles.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<resources>
22

33
<!-- Base light application theme. -->
4-
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
4+
<style name="AppTheme" parent="Theme.EdgeToEdge.Light">
55
<!-- Customize your theme here. -->
66
<item name="android:windowDisablePreview">true</item>
77
<item name="android:windowIsTranslucent">true</item>
88
<item name="android:editTextStyle">@style/MendixEditText</item>
99
</style>
1010
<!-- Base dark application theme. -->
11-
<style name="AppTheme_Dark" parent="Theme.AppCompat.DayNight.NoActionBar">
11+
<style name="AppTheme_Dark" parent="Theme.EdgeToEdge">
1212
<!-- Customize your theme here. -->
1313
<item name="android:windowDisablePreview">true</item>
1414
<item name="android:windowIsTranslucent">true</item>

android/gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ android.suppressUnsupportedCompileSdk=33
2626
newArchEnabled=false
2727
hermesEnabled=true
2828
mendixnative.cookieEncryption=false
29+
30+
# Enable edge-to-edge display (React Native 0.81+)
31+
edgeToEdgeEnabled=true

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"react-native": "0.77.3",
2525
"react-native-blob-util": "0.21.2",
2626
"react-native-device-info": "13.0.0",
27+
"react-native-edge-to-edge": "^1.7.0",
2728
"react-native-fast-image": "8.6.3",
2829
"react-native-gesture-handler": "2.23.1",
2930
"react-native-image-picker": "7.2.3",

0 commit comments

Comments
 (0)