{"repo":"skydoves/TransformationLayout","free":true,"listed":false,"github":"https://github.com/skydoves/TransformationLayout","clone":"git clone https://github.com/skydoves/TransformationLayout.git","description":"🌠 Transform between two Views, Activities, and Fragments, or a View to a Fragment with container transform animations for Android.","language":"Kotlin","stars":2426,"topics":["android","kotlin","android-library","android-ui","transition","motions","material","skydoves"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"TransformationLayout 🌠 Transform views, activity, and fragments into other components with container transform animations. Download Go to the Releases to download the demo APK. Screenshots Morphing Animation for Jetpack Compose If you want to implement morphing animation in Jetpack Compose, check out Orbital. Including in your project Gradle Add the dependency below to your module 's build.gradle file: Usage Add the XML namespace below inside your XML layout file: TransformationLayout TransformationLayout is an essential concept to transform your Views, Activities, and Fragments into other components. You must wrap one or more Views that are supposed to be transformed using TransformationLayout like the example code below: Transform into a view For instance, you can transform a floating button into a CardView as you've seen in the example below: Bind a TargetView With the attribute below in your XML file, you can bind a targetView that should be transformed from the TransformationLayout . If you bind a targetView with a TransformationLayout , the targetView's visibility will be GONE by default. You can also bind a targetView with a TransformationLayout using bindTargetView method like the code below: Starting and finishing the transformation After binding a targetView, we can start or finish transformation using the below methods. Here are other functionalities to starting and finishing transformation. OnTransformFinishListener We can listen a TransformationLayout is transfo","default_branch":null,"files":null,"tree":[],"storefront":"/r/skydoves","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/skydoves/TransformationLayout/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}