Morphing Material Dialogs

screenshot of Morphing Material Dialogs

Morphing Material Dialogs

Material dialog :heart: morphing animation. An android kotlin UI library for building beautiful animations for converting a floating action button into a material dialog.

Overview

The Morphing Material Dialogs library is a tool for implementing fab-to-dialog morphing in Android applications. It is based on Nick Butcher's Plaid and Aidan Follestad's Material Dialogs. This library allows developers to create a smooth transition from a floating action button (fab) to a dialog. The library supports customization of colors and provides instructions on how to use it.

Features

  • Fab-to-dialog morphing
  • Subset of afollestad/material-dialogs API
  • Callbacks for action button interactions
  • Customizable colors
  • Support for light and dark themes
  • Compatible with Android Lollipop and above

Installation

Follow these steps to set up the Morphing Material Dialogs library:

  1. Add the following code snippet to your root (project) level build.gradle file:
// code snippet
  1. Add the library to your app's build.gradle file:
// code snippet
  1. Override the MorphDialog.Base themes in your styles.xml file:
// code snippet
  1. Add the following code snippet to your app's manifest file:
// code snippet

Summary

The Morphing Material Dialogs library is a useful tool for implementing fab-to-dialog morphing in Android applications. It provides a smooth transition from a floating action button to a dialog and supports customization of colors. The library is compatible with Android Lollipop and above. Developers can follow the installation guide to set up the library in their projects and utilize its key features to enhance the user experience.

material-design
Material Design

Material Design is a design system developed by Google that provides a set of guidelines, components, and tools for creating visually appealing and functional user interfaces. Material Design is designed to be flexible and customizable, making it a great choice for a wide range of applications and use cases.