Git Product home page Git Product logo

aestheticdialogs's Introduction

Aesthetic Dialogs for Android πŸ“±

platform API License

πŸ“±Android Library to implement custom, 😍beautiful, 🎨stylish Dialog in android apps easily.

Get it on Google Play

Table of Contents:

Introduction

AestheticDialogs is a library that provides beautiful and custom Dialog inspired by Laravel Notify

Types of Dialog

AestheticDialog At this moment, library provides eight types of dialog i.e.

1. Flash Dialog 2. Connectify Dialog 3. Toaster Dialog
4. Emotion Dialog 5. Drake Dialog 6. Emoji Dialog
7. Rainbow Dialog 8. Flat Dialog

Dark Theme

AestheticDialog Also provides Dark Theme for some dialogs i.e.

1. Connectify Dark Dialog 2. Toaster Dark Dialog 3. Emoji Dark Dialog
4. Flat Dark Dialog LET's USE aesthetic Dialog !

Implementation

Implementation of Material Dialog library is so easy. You can check /app directory for demo. Let's have look on basic steps of implementation.

Prerequisite

i. Gradle

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url "https://jitpack.io" }
	}
}

Step 2. Add the dependency

dependencies {
	...
	implementation 'com.github.gabriel-TheCode:AestheticDialogs:1.2.1'
}

Create Dialog

Flash:

                AestheticDialog.showFlashDialog(this, "Title", "Message", AestheticDialog.SUCCESS);
                AestheticDialog.showFlashDialog(this, "Title", "Message", AestheticDialog.ERROR);

Connectify:

                AestheticDialog.showConnectify(this, "Title", "Message", AestheticDialog.SUCCESS);
                AestheticDialog.showConnectify(this, "Title", "Message", AestheticDialog.ERROR);

                /// Dark Theme
                AestheticDialog.showConnectifyDark(this,"Title", "Message",AestheticDialog.SUCCESS);
                AestheticDialog.showConnectifyDark(this, "Title", "Message", AestheticDialog.ERROR);

Toaster:

                AestheticDialog.showToaster(this, "Title", "Message", AestheticDialog.ERROR);
                AestheticDialog.showToaster(this, "Title", "Message", AestheticDialog.SUCCESS);
                AestheticDialog.showToaster(this, "Title", "Message", AestheticDialog.WARNING);
                AestheticDialog.showToaster(this, "Title", "Message", AestheticDialog.INFO);

                /// Dark Theme
                AestheticDialog.showToasterDark(this, "Title", "Message", AestheticDialog.ERROR);
                AestheticDialog.showToasterDark(this, "Title", "Message", AestheticDialog.SUCCESS);
                AestheticDialog.showToasterDark(this, "Title", "Message", AestheticDialog.WARNING);
                AestheticDialog.showToasterDark(this, "Title", "Message", AestheticDialog.INFO);

Drake :

                AestheticDialog.showDrake(this, AestheticDialog.SUCCESS);
                AestheticDialog.showDrake(this, AestheticDialog.ERROR);

Emoji :

                AestheticDialog.showEmoji(this,"Title", "Message", AestheticDialog.SUCCESS);
                AestheticDialog.showEmoji(this, "Title", "Message", AestheticDialog.ERROR);

                /// Dark Theme
                AestheticDialog.showEmojiDark(this,"Title", "Message", AestheticDialog.SUCCESS);
                AestheticDialog.showEmojiDark(this, "Title", "Message", AestheticDialog.ERROR);

Emotion :

                AestheticDialog.showEmotion(this,"Title", "Message", AestheticDialog.SUCCESS);
                AestheticDialog.showEmotion(this, "Title", "Message", AestheticDialog.ERROR);

Rainbow :

                AestheticDialog.showRainbow(this,"Title", "Message", AestheticDialog.SUCCESS);
                AestheticDialog.showRainbow(this,"Title", "Message", AestheticDialog.ERROR);
                AestheticDialog.showRainbow(this,"Title", "Message", AestheticDialog.WARNING);
                AestheticDialog.showRainbow(this,"Title", "Message", AestheticDialog.INFO);

Flat:

                AestheticDialog.showFlat(this, "Title", "Message", AestheticDialog.ERROR);
                AestheticDialog.showFlat(this, "Title", "Message", AestheticDialog.SUCCESS);
                AestheticDialog.showFlat(this, "Title", "Message", AestheticDialog.WARNING);
                AestheticDialog.showFlat(this, "Title", "Message", AestheticDialog.INFO);

                /// Dark Theme
                AestheticDialog.showFlatDark(this, "Title", "Message", AestheticDialog.ERROR);
                AestheticDialog.showFlatDark(this, "Title", "Message", AestheticDialog.SUCCESS);
                AestheticDialog.showFlatDark(this, "Title", "Message", AestheticDialog.WARNING);
                AestheticDialog.showFlatDark(this, "Title", "Message", AestheticDialog.INFO);

Demo

You can download the demo app on PlayStore

Contribute

Let's develop with collaborations. We would love to have contributions by raising issues and opening PRs. Filing an issue before PR is must. See Contributing Guidelines.

Credits

This library is built using following open-source libraries.

License

Project is published under the Apache 2.0 license. Feel free to clone and modify repo as you want, but don't forget to add reference to authors :)

aestheticdialogs's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.