This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Launch Screen
Camilo edited this page Aug 15, 2021
·
3 revisions
In many apps there is an image that shows before everything else. You can easily configure it in Jasonette.
Look for the file LaunchScreen.storyboard
inside your Xcode project.
Look for the file res/drawable/launch.xml
inside the Android project.
If you want to disable this launch change
android:theme="@style/SplashTheme"
to android:theme="@style/AppTheme"
inside manifests/AndroidManifest.xml
(and debug manifest too).
- Default Content:
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:opacity="opaque">
<item android:drawable="@color/colorLaunchScreen"/>
<item>
<bitmap
android:gravity="center"
android:src="@mipmap/ic_launcher"/>
</item>
</layer-list>
See res/values/colors.xml
too for changing the background color.
<color name="colorLaunchScreen">#FFFFFF</color>
- Telegram: https://t.me/jasonelle
- Website: https://jasonelle.com
- Additional: https://jasonelle-archive.github.io/docs/legacy/