Skip to content

Commit 86ae060

Browse files
committed
new splash
1 parent 99b1996 commit 86ae060

File tree

16 files changed

+4
-31
lines changed

16 files changed

+4
-31
lines changed

Diff for: android/app/src/main/res/drawable-v21/launch_background.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<bitmap android:gravity="fill" android:src="@drawable/background"/>
55
</item>
66
<item>
7-
<bitmap android:gravity="bottom" android:src="@drawable/branding"/>
7+
<bitmap android:gravity="center" android:src="@drawable/splash"/>
88
</item>
99
</layer-list>

Diff for: android/app/src/main/res/drawable/launch_background.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<bitmap android:gravity="fill" android:src="@drawable/background"/>
55
</item>
66
<item>
7-
<bitmap android:gravity="bottom" android:src="@drawable/branding"/>
7+
<bitmap android:gravity="center" android:src="@drawable/splash"/>
88
</item>
99
</layer-list>
Binary file not shown.
Binary file not shown.
Binary file not shown.

Diff for: ios/Runner/Assets.xcassets/BrandingImage.imageset/Contents.json

-23
This file was deleted.
2.31 KB
Loading
Loading
Loading

Diff for: ios/Runner/Base.lproj/LaunchScreen.storyboard

+1-5
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@
1818
<subviews>
1919
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" image="LaunchBackground" translatesAutoresizingMaskIntoConstraints="NO" id="tWc-Dq-wcI"/>
2020
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4"></imageView>
21-
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" image="BrandingImage" translatesAutoresizingMaskIntoConstraints="NO" id="Uyq-Kz-ftE"/>
2221
</subviews>
2322
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
2423
<constraints>
25-
<constraint firstAttribute="bottom" secondItem="Uyq-Kz-ftE" secondAttribute="bottom" id="8Yb-q4-8bl"/>
26-
<constraint firstItem="Uyq-Kz-ftE" firstAttribute="centerX" secondItem="YRO-k0-Ey4" secondAttribute="centerX" id="3kg-TC-cPP"/>
2724
<constraint firstItem="YRO-k0-Ey4" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="3T2-ad-Qdv"/>
2825
<constraint firstItem="tWc-Dq-wcI" firstAttribute="bottom" secondItem="Ze5-6b-2t3" secondAttribute="bottom" id="RPx-PI-7Xg"/>
2926
<constraint firstItem="tWc-Dq-wcI" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="SdS-ul-q2q"/>
@@ -41,8 +38,7 @@
4138
</scene>
4239
</scenes>
4340
<resources>
44-
<image name="LaunchImage" width="168" height="185"/>
41+
<image name="LaunchImage" width="512" height="512"/>
4542
<image name="LaunchBackground" width="1" height="1"/>
46-
<image name="BrandingImage" width="1" height="1"/>
4743
</resources>
4844
</document>

Diff for: pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ flutter_launcher_icons:
6666

6767
flutter_native_splash:
6868
color: "#ffffff"
69-
branding: "assets/icon.png"
69+
image: "assets/icon.png"
7070

7171
flutter:
7272
uses-material-design: true

0 commit comments

Comments
 (0)