Custom Dialog

Overview

Custom Dialog use Lottie Dialog

How To Use?

If yow want specific lottie file you must put your assets to under app → src → main → assets folder

Add line below to your top level build.gradle

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

Add lines below to your app level build.gradle

  implementation 'com.github.welcome2c:LottieProgressDialog:1.0.1'

Information For Constructor

LottieProgressDialog(     
    context: Context,   
    // setting cancelable.     
    private val isCancel: Boolean,   
    // if you want change dialog size input value not null.     
    private val dialogWidth: Int?,   
    private val dialogHeight: Int?,   
    // if you want change animation size input value not null.    
    private val animationViewWidth: Int?,   
    private val animationViewHeight: Int?,   
    // if you want change animation in samples refer to companion object.  
    // if you want specific file input file name not null.  
    private val fileName: String,   
    // if you want change title input string not null.  
    private val title: String?,   
    // if you want change title visible input visible value not null.  
    private val titleVisible: Int?  
).show()

Example

LottieProgressDialog(
    context = this,
    isCancel = true,
    dialogWidth = null,
    dialogHeight = null,
    animationViewWidth = null,
    animationViewHeight = null,
    fileName = LottieProgressDialog.SAMPLE_1,
    title = null,
    titleVisible = null
).show()

PREVIEW

Sample Lottie Json Files Producer List

  • Sample1 : 太年轻

  • Sample2 : cam92

  • Sample3 : Emir Geçir

  • Sample4 : guangxia zhou

  • Sample5 : Jieun Choi

  • Sample6 : Luisa Fernanda Bolaños Beltrán

  • Sample7 : SaagarShrest

  • Sample8 : Sara Díaz

  • Sample9 : Sarowar Kabir Noyon

  • Sample10 : Siyuan Qiu

Thanks

You might also like...
An Android Dialog Lib simplify customization.
An Android Dialog Lib simplify customization.

FlycoDialog-Master 中文版 An Android Dialog Lib simplify customization. Supprot 2.2+. Features [Built-in Dialog, convenient to use](#Built-in Dialog) [Ab

Android library to show
Android library to show "Rate this app" dialog

Android-RateThisApp Android-RateThisApp is an library to show "Rate this app" dialog. The library monitors the following status How many times is the

A simple file/ directory picker dialog for android
A simple file/ directory picker dialog for android

FileListerDialog FileListerDialog helps you to list and pick file/directory. Library is built for Android Getting Started Installing To use this libra

Android library that allows applications to add dialog-based slider widgets to their settings
Android library that allows applications to add dialog-based slider widgets to their settings

Android Slider Preference Library Overview Slider represents a float between 0.0 and 1.0 Access with SliderPreference.getValue() or SharedPreferences.

An Android library for displaying a dialog where it presents new features in the app.
An Android library for displaying a dialog where it presents new features in the app.

WhatIsNewDialog What is new dialog for Android is used for presenting new features in the the app. It can be used in the activity starts, from menu or

Android library to show
Android library to show "Rate this app" dialog

Android-RateThisApp Android-RateThisApp is an library to show "Rate this app" dialog. The library monitors the following status How many times is the

An easy to use, yet very customizable search dialog
An easy to use, yet very customizable search dialog

search-dialog An awesome and customizable search dialog with built-in search options. Usage First add jitpack to your projects build.gradle file allpr

Common dialog fragments
Common dialog fragments

Common dialog fragments

AlertDialog for Android, a beautiful and material alert dialog to use in your android app.
AlertDialog for Android, a beautiful and material alert dialog to use in your android app.

AlertDialog for Android, a beautiful and material alert dialog to use in your android app. Older verion of this library has been removed

Releases(1.0.1)
Owner
DevHoony
Android Developer Being Best
DevHoony
ionalert 1.3 1.6 Java Sweetalert, Dialog, Alert Dialog

ionalert - Android Alert Dialog A beautiful design Android Alert Dialog, alternative of Sweet Alert Dialog based on KAlertDialog using MaterialCompone

Excel Dwi Oktavianto 23 Sep 17, 2022
Alert Dialog - You can use this extension instead of creating a separate Alert Dialog for each Activity or Fragment.

We show a warning message (Alert Dialog) to the user in many parts of our applications. You can use this extension instead of creating a separate Alert Dialog for each Activity or Fragment. Thanks to this extension, you can create a Dialog and call it in the Activity or Fragment you want and customize the component you want.

Gökmen Bayram 0 Jan 9, 2022
[Deprecated] This project can make it easy to theme and custom Android's dialog. Also provides Holo and Material themes for old devices.

Deprecated Please use android.support.v7.app.AlertDialog of support-v7. AlertDialogPro Why AlertDialogPro? Theming Android's AlertDialog is not an eas

Feng Dai 468 Nov 10, 2022
a quick custom android dialog project

QustomDialog Qustom helps you make quick custom dialogs for Android. All this is, for the time being, is a way to make it easy to achieve the Holo loo

Daniel Smith 183 Nov 20, 2022
Custom Dialog

Custom Dialog use Lottie Dialog How To Use? If yow want specific lottie file you must put your assets to under app → src → main → assets folder Add li

DevHoony 16 Oct 10, 2022
Extremely useful library to validate EditText inputs whether by using just the validator for your custom view or using library's extremely resizable & customisable dialog

Extremely useful library for validating EditText inputs whether by using just the validator (OtpinVerification) for your custom view or using library's extremely resizable & customisable dialog (OtpinDialogCreator)

Ehma Ugbogo 17 Oct 25, 2022
A simple library to show custom dialog with animation in android

SmartDialog A simple library to show custom dialog in android Step 1. Add the JitPack repository to your build file allprojects { repositories {

claudysoft 9 Aug 18, 2022
CuteDialog- Android Custom Material Dialog Library

A Custom Material Design Dialog Library for Android Purpose CuteDialog is a Highly Customizable Material Design Android Library. CuteDialog allows dev

CuteLibs - Smart & Beautiful Android Libraries 7 Dec 7, 2022
Advanced dialog solution for android

DialogPlus Simple and advanced dialog solution. Uses normal view as dialog Provides expandable option Multiple positioning Built-in options for easy i

Orhan Obut 5k Dec 29, 2022
SweetAlert for Android, a beautiful and clever alert dialog

Sweet Alert Dialog SweetAlert for Android, a beautiful and clever alert dialog 中文版 Inspired by JavaScript SweetAlert Demo Download ScreenShot Setup Th

书呆子 7.3k Dec 30, 2022