All Projects → HassanUsman → CircularDialogs

HassanUsman / CircularDialogs

Licence: Apache-2.0 license
Android dialog library to give user feedback about the common operations like Success, Warning and Errors.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to CircularDialogs

Android-daily-read-tips
log for articles and info in android for every developer
Stars: ✭ 13 (-62.86%)
Mutual labels:  android-development, mobile-development
Api Debugger
🔨A like Postman API debugger that supports custom encryption. 一个类似Postman的支持自定义加密传输的后台API接口调试工具.
Stars: ✭ 63 (+80%)
Mutual labels:  android-development, mobile-development
android-trinity
android-trinity is tiny proactive framework with much of the scaffolding code required to start a new Android Application.
Stars: ✭ 44 (+25.71%)
Mutual labels:  android-development, mobile-development
Petshop
Pet Shop is an e-commerce application for Android built with Flutter (iOS to come soon).
Stars: ✭ 127 (+262.86%)
Mutual labels:  android-development, mobile-development
Android Cleanarchitecture Kotlin
This is a movies sample app in Kotlin, which is part of a serie of blog posts I have written about architecting android application using different approaches.
Stars: ✭ 3,646 (+10317.14%)
Mutual labels:  android-development, mobile-development
Aboutlibraries
AboutLibraries automatically detects all dependencies of a project and collects their information including the license. Optionally visualising it via the provided ui components.
Stars: ✭ 2,777 (+7834.29%)
Mutual labels:  libraries, android-development
android-developer-roadmap
🗺 The 2022 Android Developer Roadmap suggests learning paths to understanding Android development.
Stars: ✭ 5,533 (+15708.57%)
Mutual labels:  android-development
ConflictJS
Finding and Understanding Conflicts Between JavaScript Libraries
Stars: ✭ 39 (+11.43%)
Mutual labels:  libraries
AndroidTools
🔧 Many useful tools for Android development, adb wrapper, smali, languages etc.
Stars: ✭ 32 (-8.57%)
Mutual labels:  android-development
Arc-for-Vivaldi
Make Vivaldi integrate with Arc.
Stars: ✭ 30 (-14.29%)
Mutual labels:  custom
CrossMobile
Create native iOS, Android, Windows Phone and Desktop applications in Java. Write it once, and produce sophisticated multiplatform applications.
Stars: ✭ 48 (+37.14%)
Mutual labels:  mobile-development
android-compose-mvvm-foodies
Android sample app following best practices: Kotlin, Compose, Coroutines and Flow, Hilt, JetPack Navigation, ViewModel, MVVM, Retrofit, Coil
Stars: ✭ 374 (+968.57%)
Mutual labels:  android-development
codee-app
Android IDE for programming fully written on Kotlin
Stars: ✭ 42 (+20%)
Mutual labels:  android-development
Rocksmith-Diy-Realtone-Cable
diy realtone cable
Stars: ✭ 48 (+37.14%)
Mutual labels:  custom
VideoPreLoading
Demo for video PreLoading/ PreCaching using ExoPlayer 2.13.3 in Android.
Stars: ✭ 61 (+74.29%)
Mutual labels:  android-development
Android-Weekly
Android Weekly is a free newsletter that helps you to stay cutting-edge with your Android Development. The newsletter comes once a week and covers a broad range of topics like tutorials, screencasts, news... just everything that's awesome in the Android Development world!
Stars: ✭ 66 (+88.57%)
Mutual labels:  android-development
SPLarkController
Custom transition between controllers. Settings controller for your iOS app.
Stars: ✭ 967 (+2662.86%)
Mutual labels:  custom
Android-Kotlin-Fundamentals
Bu repositorie Google'ın tamamıyla ücretsiz olarak sunduğu Android Kotlin Fundamentals dokümantasyonunun Türkçeye çevrilmiş halidir.
Stars: ✭ 277 (+691.43%)
Mutual labels:  mobile-development
VSpot
A nice focus view intro for your app. Focus a specific view on first time launch
Stars: ✭ 27 (-22.86%)
Mutual labels:  android-development
resources
A curated collection of useful tech resources 💻
Stars: ✭ 57 (+62.86%)
Mutual labels:  mobile-development

CircularDialogs Build Status Download Platform

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.hassanusman:CircularDialogs:1.2'
	}
  

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 your 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.
...

Maintainer

HassanUsman HassanUsman

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].