Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32098217
D15415.1765011380.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D15415.1765011380.diff
View Options
diff --git a/native/android/app/src/main/res/values-v31/styles.xml b/native/android/app/src/main/res/values-v31/styles.xml
new file mode 100644
--- /dev/null
+++ b/native/android/app/src/main/res/values-v31/styles.xml
@@ -0,0 +1,7 @@
+<resources>
+ <style name="Theme.App.SplashScreen" parent="Theme.SplashScreen">
+ <item name="postSplashScreenTheme">@style/AppTheme</item>
+ <item name="android:windowSplashScreenBackground">@color/splash_background</item>
+ <item name="android:windowSplashScreenAnimatedIcon">@drawable/header</item>
+ </style>
+</resources>
diff --git a/native/android/app/src/main/res/values/colors.xml b/native/android/app/src/main/res/values/colors.xml
new file mode 100644
--- /dev/null
+++ b/native/android/app/src/main/res/values/colors.xml
@@ -0,0 +1,3 @@
+<resources>
+ <color name="splash_background">#111727</color>
+</resources>
diff --git a/native/android/app/src/main/res/values/styles.xml b/native/android/app/src/main/res/values/styles.xml
--- a/native/android/app/src/main/res/values/styles.xml
+++ b/native/android/app/src/main/res/values/styles.xml
@@ -2,8 +2,9 @@
<style name="AppTheme" parent="Theme.EdgeToEdge">
<item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
</style>
- <style name="Theme.App.SplashScreen" parent="AppTheme">
- <item name="android:windowSplashScreenBackground">#111727</item>
- <item name="android:windowSplashScreenAnimatedIcon">@drawable/header</item>
+ <style name="Theme.App.SplashScreen" parent="Theme.SplashScreen">
+ <item name="windowSplashScreenBackground">@color/splash_background</item>
+ <item name="windowSplashScreenAnimatedIcon">@drawable/header</item>
+ <item name="postSplashScreenTheme">@style/AppTheme</item>
</style>
-</resources>
\ No newline at end of file
+</resources>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 6, 8:56 AM (11 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5834805
Default Alt Text
D15415.1765011380.diff (1 KB)
Attached To
Mode
D15415: [native] Fix Android XML to work with Android 8
Attached
Detach File
Event Timeline
Log In to Comment