Closed TecladistaProd closed 6 years ago
Hi, not sure if you have found the solution? I am also looking into changing the splash screen text to image.
For Android
To change splash screen background color: [weex project folder]\platforms\android\app\src\main\res\layout\activity_splash.xml
To change app icon: [weex project folder]\platforms\android\app\src\main\res\mipmap-hdpi\ic_launcher.png [weex project folder]\platforms\android\app\src\main\res\mipmap-mdpi\ic_launcher.png [weex project folder]\platforms\android\app\src\main\res\mipmap-xhdpi\ic_launcher.png [weex project folder]\platforms\android\app\src\main\res\mipmap-xxhdpi\ic_launcher.png [weex project folder]\platforms\android\app\src\main\res\mipmap-xxxhdpi\ic_launcher.png
thanks for info, but like you, i'm looking into changing to the image or other animation for the text.
To change splash screen animation modify SplashActivity.java at [weex project folder]/platform/android/app/src/main/java/com/weex/app (/com/weex/app may be different). It coded in Android native java.
Text on splash screen is in [weex project folder]/android.config.json
You also can change text size, font, color, ... at _[weex project folder]/platform/android/app/src/main/res/layouts/appactivitysplash.xml, but I recommend you search "android How do I make a splash screen" on internet and totaly change splash screen.
Feel free!
have a way to change the background of splash screen or the animation of the splash screen text ? and have a way to change app icon?