안드로이드 화면이동 애니메이션

    Frag  with Animation

    Frag with Animation

    Fragment to Fragment with animation 프래그먼트에서 프래그먼트로 이동하는 순간의 애니메이션 효과를 적용해줄 수 있다. 이 방법은 매우 유용하고 앱에서 깔끔한 흐름 처리를 해주는 듯 하다. 요즘 앱에서는 이러한 효과를 심심치 않게 많이 확인 할 수 있다. 지금까지 내가 알게된 방법에 대해 기록해보겠다. 먼저 공식 문서를 확인해보자. [보러가기] 사용방법 val fragment = FragmentB() supportFragmentManager.commit { setCustomAnimations( R.anim.slide_in, R.anim.fade_out, R.anim.fade_in, R.anim.slide_out ) replace(R.id.fragment_container, fra..