Skip to content

Commit

Permalink
Merge pull request #525 from Bit-Nation/fix/android-splash-ratio
Browse files Browse the repository at this point in the history
Fix/android splash ratio
  • Loading branch information
seland committed Sep 14, 2018
2 parents 07a77e5 + 6baebd3 commit 5681dd7
Show file tree
Hide file tree
Showing 3 changed files with 907 additions and 757 deletions.
14 changes: 14 additions & 0 deletions android/app/src/main/res/drawable/launch_screen.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>

<layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque">

<item android:drawable="@android:color/darker_gray"/>

<item>

<bitmap
android:src="@drawable/splash"
android:gravity="center"/>
</item>

</layer-list>
2 changes: 1 addition & 1 deletion android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</style>

<style name="SplashTheme" parent="AppTheme">
<item name="android:windowBackground">@drawable/splash</item>
<item name="android:windowBackground">@drawable/launch_screen</item>
</style>
</resources>

0 comments on commit 5681dd7

Please sign in to comment.