스플래시 문구 변경
This commit is contained in:
parent
0180a384e1
commit
9b511b9d18
|
@ -7,8 +7,10 @@ import android.os.Bundle
|
|||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
import android.widget.ImageView
|
||||
import androidx.annotation.OptIn
|
||||
import androidx.constraintlayout.widget.ConstraintLayout
|
||||
import androidx.core.os.bundleOf
|
||||
import androidx.media3.common.util.UnstableApi
|
||||
import com.google.firebase.dynamiclinks.PendingDynamicLinkData
|
||||
import com.google.firebase.dynamiclinks.ktx.dynamicLinks
|
||||
import com.google.firebase.ktx.Firebase
|
||||
|
@ -34,7 +36,7 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>(ActivitySplashBinding
|
|||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
setLayoutParams(binding.ivText, start = 0, end = 0, top = 300, bottom = 0)
|
||||
setLayoutParams(binding.ivText, start = 0, end = 0, top = 150, bottom = 0)
|
||||
setLayoutParams(binding.ivText2, start = 0, end = 0, top = 0, bottom = 180)
|
||||
|
||||
setupRemoteConfig()
|
||||
|
@ -238,9 +240,10 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>(ActivitySplashBinding
|
|||
}
|
||||
)
|
||||
finish()
|
||||
}, 1000)
|
||||
}, 500)
|
||||
}
|
||||
|
||||
@OptIn(UnstableApi::class)
|
||||
private fun showMainActivity(extras: Bundle?) {
|
||||
handler.postDelayed({
|
||||
startActivity(
|
||||
|
@ -251,7 +254,7 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>(ActivitySplashBinding
|
|||
}
|
||||
)
|
||||
finish()
|
||||
}, 1000)
|
||||
}, 500)
|
||||
}
|
||||
|
||||
private fun showLoginActivity(extras: Bundle?) {
|
||||
|
@ -264,7 +267,7 @@ class SplashActivity : BaseActivity<ActivitySplashBinding>(ActivitySplashBinding
|
|||
}
|
||||
)
|
||||
finish()
|
||||
}, 1000)
|
||||
}, 500)
|
||||
}
|
||||
|
||||
override fun setupView() {}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 17 KiB |
Binary file not shown.
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue