Skip to content

Commit

Permalink
feature/splash: splash theme을 application AndroidManifest.xml에 적 & Ma…
Browse files Browse the repository at this point in the history
…inActivity.kt 화면 보여주기 전에 splashScreen 보여주도록 구현
  • Loading branch information
mjkim1019 committed Oct 26, 2023
1 parent f0e1ed1 commit 42156fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
android:name=".feature.main.MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/Theme.ConnectDog">
android:theme="@style/Theme.ConnectDog.Splash">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ package com.kusitms.connectdog.feature.main
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
import com.kusitms.connectdog.core.designsystem.theme.ConnectDogTheme
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
installSplashScreen()
setContent {
val navigator: MainNavigator = rememberMainNavigator()
ConnectDogTheme {
Expand Down

0 comments on commit 42156fb

Please sign in to comment.