Material Motion Android

screenshot of Material Motion Android

Reactive motion for Android. Deprecated; please use the Motion library in Material Components for Android instead: https://material.io/develop/android/theming/motion/.

Overview

The Material Motion for Android repo is a deprecated library that provides APIs for implementing motion and animation in Android applications. It is recommended to use the Motion library in Material Components for Android instead.

Features

  • APIs for defining motion and animation in Android applications
  • Support for local dependencies and testing
  • Integration with Android Studio for easy editing and development

Installation with Jitpack

  1. Add the Jitpack repository to your project's build.gradle file.
  2. Depend on the latest version of the library.
  3. Enable Java 8 language features.
    • Note: You must use Android Studio 2.4 Preview 4 or newer.

Using the files from a folder local to the machine

  1. Copy the library files to a local folder.
  2. Add the library's identifier to your project's local.dependencies file.
  3. Ensure that any local dependencies are also defined in build.gradle.
    • Note: Do not check local.dependencies into Version Control Systems.
  4. Run gradle install from the library's project root every time you make a change to it.
    • This will publish your latest changes to the local maven repository.
  5. If there are local dependencies of the library, you must also gradle install them.

Summary

The Material Motion for Android repo is a deprecated library that provides APIs for implementing motion and animation in Android applications. It is recommended to use the Motion library in Material Components for Android instead. The installation process involves adding dependencies and enabling language features. The library supports local dependencies and testing, and can be easily edited in Android Studio. Contributions are welcome. The library is licensed under the Apache 2.0 license.

motion
Motion

Motion (formerly Framer Motion) is a production-ready animation library for React and JavaScript. It provides a simple declarative API for creating fluid animations, gestures, and transitions with excellent performance and accessibility.