Shared object를 사용한 Transtion Animation,
A->B activity 실행시 shared object 설정(transition id), 공유된 오브젝트가 자연스럽게 애니메이션 된다,.
**
[Example]
TransitionAnimation 적용
머터리얼 디자인의 화면 이동간 TransitionAnimation을 적용해보겠습니다. 적용하는 순서는 아래와 같습니다. 1. 테마에 windowContentRansitions 추가 1 2 3 4 5 6 7 8 9 <sty..< p=""> </sty..<>
karrel.tistory.com
https://www.androidauthority.com/using-shared-element-transitions-activities-fragments-631996/
Using shared element transitions in activities and fragments
We discuss how to use shared element transitions in both Activities and Fragments. The article covers both static and dynamically generated Views.
www.androidauthority.com
*ActivityOptionCompat
https://developer.android.com/reference/android/support/v4/app/ActivityOptionsCompat
ActivityOptionsCompat | Android 개발자 | Android Developers
ActivityOptionsCompat This package is part of the Android support library which is no longer maintained. The support library has been superseded by AndroidX which is part of Jetpack. We recommend using the AndroidX libraries in all new projects. You should
developer.android.com
++ActiptyOption구현부를 보니
설정한 transition name을 bundle로 전달
'Software Development > Application Develop' 카테고리의 다른 글
Android Intent 기초 (0) | 2020.04.22 |
---|---|
Android Seamless transition - app code (0) | 2020.04.22 |
Android ListView (0) | 2020.04.16 |
Android RecyclerView (1) | 2020.04.16 |
Android 메모 (0) | 2020.04.16 |