File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 11package com .fridayapp ;
22
3+ import android .view .View ;
34import com .reactnativenavigation .NavigationActivity ;
45
56public class MainActivity extends NavigationActivity {
6-
7+ @ Override
8+ protected void addDefaultSplashLayout () {
9+ View view = getLayoutInflater ().inflate (R .layout .layout_splash , null );
10+ setContentView (view );
11+ }
712}
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3+ android : layout_width =" match_parent" android : layout_height =" match_parent" >
4+
5+ <ImageView
6+ android : layout_width =" match_parent"
7+ android : layout_height =" wrap_content"
8+ android : layout_centerInParent =" true"
9+ android : scaleType =" center"
10+ android : src =" @drawable/launchscreen" />
11+ </RelativeLayout >
You can’t perform that action at this time.
0 commit comments