https://developer.android.com/develop/ui/views/animations/prop-animation#choreography
Property Animation Overview | Android Developers
<!-- TODO: Remove `android-page-banner-left-content` & `android-page-banner-right-content` classes once style changes have made it into production. --> Try the Compose way Jetpack Compose is the recommended UI toolkit for Android. Learn how to use Animatio
developer.android.com
AnimatorSet().apply {
val fadeOut = ObjectAnimator.ofFloat(view, "alpha", 1f, 0f).apply {
duration = 300
}
val fadeInt = ObjectAnimator.ofFloat(view, "alpha", 0f, 1f).apply {
duration = 300
}
playSequentially(fadeOut, fadeInt)
startDelay = 2000
start()
doOnEnd {
it.start()
}
}
'๊ณณ๊ฐ์์ ์ธ์ฌ๋๋ค' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Java] Thread-Safeํ Singleton ๊ฐ์ฒด (0) | 2024.10.01 |
---|---|
[์ฝ๊ธฐ][Android] Could Google Be Forced to Abandon Android? (0) | 2024.09.17 |
[Android] Swipe ์ ์ค์ณ ๊ฐ์ง CustomView (0) | 2023.07.20 |
[Kotlin] ํ๋ ฌ์ ๊ณฑ (0) | 2023.07.17 |