Skip to content

Commit e5da6a1

Browse files
Add splash screen for landscape so it looks better on tablets
1 parent b4305df commit e5da6a1

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed
66.9 KB
Loading
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
<?xml version="1.0" encoding="utf-8" ?>
2-
<RelativeLayout
2+
<LinearLayout
33
xmlns:android="http://schemas.android.com/apk/res/android"
4-
android:orientation="vertical" android:layout_width="match_parent"
4+
android:layout_width="match_parent"
55
android:layout_height="match_parent"
6+
android:background="@drawable/launch_screen"
67
>
7-
<ImageView
8-
android:layout_width="match_parent"
9-
android:layout_height="match_parent"
10-
android:src="@drawable/launch_screen"
11-
android:scaleType="centerCrop"
12-
/>
13-
</RelativeLayout>
8+
</LinearLayout>

android/app/src/main/res/values/styles.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
55
<!-- Customize your theme here. -->
66
<item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
7+
<item name="android:windowIsTranslucent">true</item>
78
</style>
89

910
</resources>

0 commit comments

Comments
 (0)