All Projects → 1singhmanmeet → CircularDialogs

1singhmanmeet / CircularDialogs

Licence: Apache-2.0 license
Its a library for the creating simple success and warning dialogs for android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to CircularDialogs

CompatAlertDialog
No description or website provided.
Stars: ✭ 27 (-20.59%)
Mutual labels:  dialog
vaadin-dialog
High quality web component for modal dialogs. Part of the Vaadin platform.
Stars: ✭ 15 (-55.88%)
Mutual labels:  dialog
react-redux-modal-flex
[DEPRECATED] Make easy a modal/popup with Redux
Stars: ✭ 14 (-58.82%)
Mutual labels:  dialog
Talkit
Non-Linear Game Dialogue Editor
Stars: ✭ 83 (+144.12%)
Mutual labels:  dialog
eins-modal
Simple to use modal / alert / dialog / popup. Created with pure JS. No javascript knowledge required! Works on every browser and device! IE9
Stars: ✭ 30 (-11.76%)
Mutual labels:  dialog
probabilistic nlg
Tensorflow Implementation of Stochastic Wasserstein Autoencoder for Probabilistic Sentence Generation (NAACL 2019).
Stars: ✭ 28 (-17.65%)
Mutual labels:  dialog
dynamic-dialogs
Display improved dialogs and dialog fragments on Android.
Stars: ✭ 33 (-2.94%)
Mutual labels:  dialog
flickabledialog
This dialog can flick and make it easy to dismiss sensuously.
Stars: ✭ 84 (+147.06%)
Mutual labels:  dialog
Toaster-Library
🎫 Android library, Custom toast and dialog (2018)
Stars: ✭ 14 (-58.82%)
Mutual labels:  dialog
blurdialog
A dialog providing a blur effect as background, a title and an icon
Stars: ✭ 72 (+111.76%)
Mutual labels:  dialog
TipDialog
flutter tip dialog
Stars: ✭ 78 (+129.41%)
Mutual labels:  dialog
vscode-color
Helper with GUI to generate color codes such as CSS color notations.
Stars: ✭ 88 (+158.82%)
Mutual labels:  dialog
android-suspend-dialogs
A helper library for Android to display Dialogs by suspending the coroutine till finish of the dialog.
Stars: ✭ 32 (-5.88%)
Mutual labels:  dialog
SimpleDialogs
💬 A simple framework to help displaying dialogs on a WPF app
Stars: ✭ 24 (-29.41%)
Mutual labels:  dialog
babi tools
Augmentation scripts for the bAbI Dialog Tasks dataset
Stars: ✭ 14 (-58.82%)
Mutual labels:  dialog
ngx-simple-modal
A simple unopinionated framework to implement simple modal based behaviour in angular (v2+) projects.
Stars: ✭ 50 (+47.06%)
Mutual labels:  dialog
vue2-dialog
A mobile Vue plugin for VueDialog
Stars: ✭ 21 (-38.24%)
Mutual labels:  dialog
FancyDialog
Kotlin + DSL风格代替传统的Builder模式 诸多可配置项 高阶函数代替自定义回调接口 书写起来超级顺手
Stars: ✭ 24 (-29.41%)
Mutual labels:  dialog
angular-custom-modal
Angular2+ Modal / Dialog (with inner component support).
Stars: ✭ 30 (-11.76%)
Mutual labels:  dialog
whatisnewdialog
An Android library for displaying a dialog where it presents new features in the app.
Stars: ✭ 22 (-35.29%)
Mutual labels:  dialog

CircularDialogs

CircularDialogs is custom Android dialog library to give user feedback about the common operations like Success, Warning and Errors. You can easily use the it by adding the dependency to your gradle file. It allows you to make beautiful dialogs with just few lines of code. You can choose from the predefined entry and exit animations. You can use lot of options as discussed below:

Screenshots

Alt text Alt text Alt text

Add Gradle dependency

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

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

Add the dependency

  dependencies {
	        compile 'com.github.1singhmanmeet:CircularDialogs:v1.0.1'
	}
  

Example

new CDialog(this).createAlert("You missed something",
                CDConstants.WARNING,   // Type of dialog
                CDConstants.LARGE)    //  size of dialog
                .setAnimation(CDConstants.SCALE_FROM_BOTTOM_TO_TOP)     //  Animation for enter/exit  
                .setDuration(2000)   // in milliseconds
                .setTextSize(CDConstants.LARGE_TEXT_SIZE)  // CDConstants.LARGE_TEXT_SIZE, CDConstants.NORMAL_TEXT_SIZE
                .show();

Options Available

Here are the different customizations that you can use to make things look different.

For Animations

     CDConstants.SCALE_FROM_BOTTOM_TO_TOP, CDConstants.SCALE_FROM_RIGHT_TO_LEFT, 
      // Bottom and top can be exchanged as well as right to left.
     // Like scale you can also use SLIDE animation just replace SLIDE with SCALE.
     CDConstants.SLIDE_FROM_BOTTOM_TO_TOP

TextSize

   setTextSize(CDConstants.NORMAL_TEXT_SIZE | CDConstants.LARGE_TEXT_SIZE);
   // NOTE: If you give any other value it won't work always use these two values only.
   

Duration

You can give duration in milliseconds. If you don't give duration dialog will close after user tap on the screen.

   .setDuration(2000)   // in milliseconds

Dialog Type

Right now only three types of dialogs are supported CDConstants.SUCCES, CDConstants.WARNING and CDConstants.ERROR. see the top example for usage.

Use you own icon

You can use your own icons if you want. Here is the way :

   CDialog createAlert(String message,Bitmap icon,int alertType,int size);        // using Bitmap
   CDialog createAlert(String message,Drawable icon,int alertType,int size);       // Using Drawable

   // Everything will be same just parameters are changed.
...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].