File tree Expand file tree Collapse file tree 4 files changed +6
-19
lines changed
java/com/thewizrd/simpleweather Expand file tree Collapse file tree 4 files changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ buildscript {
28
28
preference_version = ' 1.2.1'
29
29
recyclerview_version = ' 1.3.1'
30
30
room_version = ' 2.5.2'
31
- coresplash_version = ' 1.0.0 '
31
+ coresplash_version = ' 1.0.1 '
32
32
work_version = ' 2.8.1'
33
33
34
34
test_core_version = ' 1.5.0'
Original file line number Diff line number Diff line change @@ -29,10 +29,9 @@ class LaunchActivity : ComponentActivity() {
29
29
private var isReadyToView = false
30
30
31
31
override fun onCreate (savedInstanceState : Bundle ? ) {
32
+ installSplashScreen()
32
33
super .onCreate(savedInstanceState)
33
34
34
- val splashScreen = installSplashScreen()
35
-
36
35
// Stop activity from rendering until next activity or if immediate update available
37
36
val content = findViewById<View >(android.R .id.content)
38
37
content.viewTreeObserver.addOnPreDrawListener(object : ViewTreeObserver .OnPreDrawListener {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 24
24
<item name =" wearChipButtonStyle" >@style/Widget.Wear.WearChipButton</item >
25
25
</style >
26
26
27
- <style name =" WearAppTheme.Launcher" parent =" Theme.SplashScreen" >
28
- <item name =" windowSplashScreenAnimatedIcon" >@drawable/ic_logo</item >
29
- <item name =" windowSplashScreenBackground" >@android:color/black</item >
27
+ <style name =" WearAppTheme.Launcher" parent =" Theme.SplashScreen.IconBackground" >
30
28
<item name =" postSplashScreenTheme" >@style/WearAppTheme</item >
31
- <item name =" splashScreenIconSize" >48dp</item >
29
+ <item name =" windowSplashScreenBackground" >@android:color/black</item >
30
+ <item name =" windowSplashScreenAnimatedIcon" >@drawable/ic_launcher_foreground</item >
31
+ <item name =" windowSplashScreenIconBackgroundColor" >@color/ic_launcher_background</item >
32
32
</style >
33
33
34
34
<style name =" WearSettingsTheme" parent =" @style/WearAppTheme" >
You can’t perform that action at this time.
0 commit comments