File tree Expand file tree Collapse file tree 5 files changed +48
-7
lines changed Expand file tree Collapse file tree 5 files changed +48
-7
lines changed Original file line number Diff line number Diff line change 1
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" com.boilerplate" >
3
-
1
+ <manifest
2
+ xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ package =" com.boilerplate"
4
+ >
4
5
<uses-permission android : name =" android.permission.INTERNET" />
5
6
6
7
<application
9
10
android : icon =" @mipmap/ic_launcher"
10
11
android : roundIcon =" @mipmap/ic_launcher_round"
11
12
android : allowBackup =" false"
12
- android : theme =" @style/SplashTheme" >
13
+ android : theme =" @style/AppTheme"
14
+ >
15
+ <activity
16
+ android : name =" .SplashActivity"
17
+ android : theme =" @style/SplashTheme"
18
+ android : label =" @string/app_name"
19
+ >
20
+ <intent-filter >
21
+ <action android : name =" android.intent.action.MAIN" />
22
+ <category android : name =" android.intent.category.LAUNCHER" />
23
+ </intent-filter >
24
+ </activity >
25
+
13
26
<activity
14
27
android : name =" .MainActivity"
15
28
android : label =" @string/app_name"
16
29
android : configChanges =" keyboard|keyboardHidden|orientation|screenSize|uiMode"
17
30
android : launchMode =" singleTask"
18
31
android : windowSoftInputMode =" adjustResize" >
19
32
<intent-filter >
20
- <action android : name =" android.intent.action.MAIN" />
21
- <category android : name =" android.intent.category.LAUNCHER" />
33
+ <action android : name =" android.intent.action.MAIN" />
22
34
</intent-filter >
23
35
</activity >
24
36
</application >
Original file line number Diff line number Diff line change
1
+ package com .boilerplate ;
2
+ import android .content .Intent ;
3
+ import android .os .Bundle ;
4
+ import androidx .appcompat .app .AppCompatActivity ;
5
+
6
+ public class SplashActivity extends AppCompatActivity {
7
+ @ Override
8
+ protected void onCreate (Bundle savedInstanceState ) {
9
+ super .onCreate (savedInstanceState );
10
+
11
+ Intent intent = new Intent (this , MainActivity .class );
12
+ startActivity (intent );
13
+ finish ();
14
+ }
15
+ }
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ android : layout_width =" match_parent"
4
+ android : layout_height =" match_parent"
5
+ android : background =" @drawable/splash_screen"
6
+ android : orientation =" vertical" >
7
+ </LinearLayout >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<resources >
3
- <color name =" splashscreen_bg" >#FFFFFF </color >
3
+ <color name =" splashscreen_bg" >#000000 </color >
4
4
</resources >
Original file line number Diff line number Diff line change @@ -2059,6 +2059,13 @@ aws4@^1.8.0:
2059
2059
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59"
2060
2060
integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==
2061
2061
2062
+ axios@^0.21.4 :
2063
+ version "0.21.4"
2064
+ resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575"
2065
+ integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==
2066
+ dependencies :
2067
+ follow-redirects "^1.14.0"
2068
+
2062
2069
babel-core@^7.0.0-bridge.0 :
2063
2070
version "7.0.0-bridge.0"
2064
2071
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece"
You can’t perform that action at this time.
0 commit comments