๊ณณ๊ฐ์์ ์ธ์ฌ๋๋ค
[Android][Animation] 2์ด๋ง๋ค ๊น๋นก์ด๋ ์ ๋๋ฉ์ด์ . ์ด๊ฐ๋จ ๊ตฌํ
โญโญ๊ธฐ๋ก
2023. 7. 27. 16:38
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()
}
}