Initial commit
10
android/app/src/main/res/drawable/launch_background.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Modify this file to customize your launch splash screen -->
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@android:color/white"/>
|
||||
<item>
|
||||
<bitmap
|
||||
android:gravity="center"
|
||||
android:src="@mipmap/launch_image"/>
|
||||
</item>
|
||||
</layer-list>
|
||||
35
android/app/src/main/res/genLaunch.sh
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
#!/bin/bash
|
||||
|
||||
BASE=../../../../../images/logo-1024.png
|
||||
IOS=../../../../../ios/Runner/Assets.xcassets/LaunchImage.imageset
|
||||
IOSICON=../../../../../ios/Runner/Assets.xcassets/AppIcon.appiconset
|
||||
|
||||
# ls $BASE
|
||||
# ls $IOS
|
||||
|
||||
convert $BASE -resize 48x mipmap-mdpi/launch_image.png
|
||||
convert $BASE -resize 72x mipmap-hdpi/launch_image.png
|
||||
convert $BASE -resize 96x mipmap-xhdpi/launch_image.png
|
||||
convert $BASE -resize 144x mipmap-xxhdpi/launch_image.png
|
||||
convert $BASE -resize 192x mipmap-xxxhdpi/launch_image.png
|
||||
|
||||
cp mipmap-mdpi/launch_image.png $IOS/LaunchImage.png
|
||||
cp mipmap-xhdpi/launch_image.png $IOS/LaunchImage@2x.png
|
||||
cp mipmap-xxhdpi/launch_image.png $IOS/LaunchImage@3x.png
|
||||
cp mipmap-xxxhdpi/launch_image.png $IOS/LaunchImage@4x.png
|
||||
|
||||
convert $BASE -resize 1024x1024 $IOSICON/Icon-App-1024x1024@1x.png
|
||||
convert $BASE -resize 20x20 $IOSICON/Icon-App-20x20@1x.png
|
||||
convert $BASE -resize 40x40 $IOSICON/Icon-App-20x20@2x.png
|
||||
convert $BASE -resize 60x60 $IOSICON/Icon-App-20x20@3x.png
|
||||
convert $BASE -resize 29x29 $IOSICON/Icon-App-29x29@1x.png
|
||||
convert $BASE -resize 58x58 $IOSICON/Icon-App-29x29@2x.png
|
||||
convert $BASE -resize 87x87 $IOSICON/Icon-App-29x29@3x.png
|
||||
convert $BASE -resize 40x40 $IOSICON/Icon-App-40x40@1x.png
|
||||
convert $BASE -resize 80x80 $IOSICON/Icon-App-40x40@2x.png
|
||||
convert $BASE -resize 120x120 $IOSICON/Icon-App-40x40@3x.png
|
||||
convert $BASE -resize 120x120 $IOSICON/Icon-App-60x60@2x.png
|
||||
convert $BASE -resize 180x180 $IOSICON/Icon-App-60x60@3x.png
|
||||
convert $BASE -resize 76x76 $IOSICON/Icon-App-76x76@1x.png
|
||||
convert $BASE -resize 152x152 $IOSICON/Icon-App-76x76@2x.png
|
||||
convert $BASE -resize 167x167 $IOSICON/Icon-App-83.5x83.5@2x.png
|
||||
BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 544 B |
BIN
android/app/src/main/res/mipmap-hdpi/launch_image.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 442 B |
BIN
android/app/src/main/res/mipmap-mdpi/launch_image.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 721 B |
BIN
android/app/src/main/res/mipmap-xhdpi/launch_image.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
android/app/src/main/res/mipmap-xxhdpi/launch_image.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
android/app/src/main/res/mipmap-xxxhdpi/launch_image.png
Normal file
|
After Width: | Height: | Size: 7 KiB |
8
android/app/src/main/res/values/styles.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
|
||||
<!-- Show a splash screen on the activity. Automatically removed when
|
||||
Flutter draws its first frame -->
|
||||
<item name="android:windowBackground">@drawable/launch_background</item>
|
||||
</style>
|
||||
</resources>
|
||||