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 {
2828 preference_version = ' 1.2.1'
2929 recyclerview_version = ' 1.3.1'
3030 room_version = ' 2.5.2'
31- coresplash_version = ' 1.0.0 '
31+ coresplash_version = ' 1.0.1 '
3232 work_version = ' 2.8.1'
3333
3434 test_core_version = ' 1.5.0'
Original file line number Diff line number Diff line change @@ -29,10 +29,9 @@ class LaunchActivity : ComponentActivity() {
2929 private var isReadyToView = false
3030
3131 override fun onCreate (savedInstanceState : Bundle ? ) {
32+ installSplashScreen()
3233 super .onCreate(savedInstanceState)
3334
34- val splashScreen = installSplashScreen()
35-
3635 // Stop activity from rendering until next activity or if immediate update available
3736 val content = findViewById<View >(android.R .id.content)
3837 content.viewTreeObserver.addOnPreDrawListener(object : ViewTreeObserver .OnPreDrawListener {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2424 <item name =" wearChipButtonStyle" >@style/Widget.Wear.WearChipButton</item >
2525 </style >
2626
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" >
3028 <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 >
3232 </style >
3333
3434 <style name =" WearSettingsTheme" parent =" @style/WearAppTheme" >
You can’t perform that action at this time.
0 commit comments