-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(launch-screen): added & adjusted native launch screens
- Loading branch information
Showing
9 changed files
with
94 additions
and
42 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<FrameLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@color/bg" | ||
> | ||
<ImageView | ||
android:src="@drawable/logo" | ||
android:layout_gravity="center" | ||
android:layout_width="128dp" | ||
android:layout_height="113dp" /> | ||
</FrameLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<document type="com.apple.InterfaceBuilder.AppleTV.Storyboard" version="3.0" toolsVersion="21701" targetRuntime="AppleTV" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="u0a-ij-WvE"> | ||
<device id="appleTV" appearance="light"/> | ||
<dependencies> | ||
<deployment identifier="tvOS"/> | ||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/> | ||
<capability name="Safe area layout guides" minToolsVersion="9.0"/> | ||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
</dependencies> | ||
<scenes> | ||
<!--View Controller--> | ||
<scene sceneID="3ge-oh-zpQ"> | ||
<objects> | ||
<viewController id="u0a-ij-WvE" sceneMemberID="viewController"> | ||
<layoutGuides> | ||
<viewControllerLayoutGuide type="top" id="Qpd-SE-jP2"/> | ||
<viewControllerLayoutGuide type="bottom" id="TeC-2V-PFX"/> | ||
</layoutGuides> | ||
<view key="view" userInteractionEnabled="NO" contentMode="scaleToFill" id="2x8-OU-r8C"> | ||
<rect key="frame" x="0.0" y="0.0" width="1920" height="1080"/> | ||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
<subviews> | ||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="Logo" translatesAutoresizingMaskIntoConstraints="NO" id="aRu-AK-Wex"> | ||
<rect key="frame" x="832" y="428" width="256" height="225"/> | ||
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/> | ||
</imageView> | ||
</subviews> | ||
<viewLayoutGuide key="safeArea" id="sNj-2H-BDP"/> | ||
<color key="backgroundColor" red="0.074569292369999998" green="0.082317329940000003" blue="0.10196382549999999" alpha="1" colorSpace="custom" customColorSpace="displayP3"/> | ||
<color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
</view> | ||
</viewController> | ||
<placeholder placeholderIdentifier="IBFirstResponder" id="YUM-Ef-YDA" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
</objects> | ||
<point key="canvasLocation" x="52.173913043478265" y="375"/> | ||
</scene> | ||
</scenes> | ||
<resources> | ||
<image name="Logo" width="200" height="176"/> | ||
</resources> | ||
</document> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
import { StyleSheet } from 'react-native'; | ||
import { size } from 'styles'; | ||
|
||
export default StyleSheet.create({ | ||
container: { | ||
position: 'absolute', | ||
top: 0, | ||
left: 0, | ||
right: 0, | ||
bottom: 0, | ||
zIndex: 99, | ||
flex: 1, | ||
height: '100%', | ||
width: '100%', | ||
backgroundColor: '#13151A', | ||
paddingTop: 200, | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
content: { | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
logo: { | ||
width: 128, | ||
width: size(128), | ||
aspectRatio: 533 / 463, | ||
}, | ||
loader: { | ||
position: 'absolute', | ||
bottom: -150, | ||
bottom: -size(96), | ||
color: 'rgba(255, 255, 255, 0.7)', | ||
}, | ||
}); |