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 1
1
package com .fridayapp ;
2
2
3
+ import android .view .View ;
3
4
import com .reactnativenavigation .NavigationActivity ;
4
5
5
6
public 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
+ }
7
12
}
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