Library project to display DialogFragment with a blur effect.

Overview

BlurDialogFragment

This project allows to display DialogFragment with a burring effect behind. The blurring part is achieved through FastBlur algorithm thanks to the impressive work of Pavlo Dudka (cf Special Thanks).

Maven Central

Android Arsenal

Sample app

Download the sample app on the Google Play store.

Gradle dependency

Since the library is promoted on maven central, just add a new gradle dependency :

    compile 'fr.tvbarthel.blurdialogfragment:lib:2.2.0'

Don't forget to check the [Use RenderScript in Your Project] (#use-renderscript-in-your-project) if you're planning to use it.

Example

Activity with action bar [blurRadius 4, downScaleFactor 5.0] : action bar blur

Fullscreen activity [blurRadius 2, downScaleFactor 8.0] : full screen blur

Use RenderScript in Your Project

Simply add this line to your build.gradle

defaultConfig {
    ...
    renderscriptTargetApi 22
    renderscriptSupportModeEnabled true
    ...
}

Simple usage using inheritance

If you are using android.app.DialogFragment : extends BlurDialogFragment. Play with the blur radius and the down scale factor to obtain the perfect blur.

Don't forget to enable log if you want to keep on eye the performance.

/**
 * Simple fragment with blurring effect behind.
 */
public class SampleDialogFragment extends BlurDialogFragment {

}

If you are using android.support.v4.app.DialogFragment : extends SupportBlurDialogFragment. Play with the blur radius and the down scale factor to obtain the perfect blur.

Don't forget to enable log in order to keep on eye the performance.

/**
 * Simple fragment with blurring effect behind.
 */
public class SampleDialogFragment extends SupportBlurDialogFragment {

}

Customize your blurring effect

/**
 * Simple fragment with a customized blurring effect.
 */
public class SampleDialogFragment extends BlurDialogFragment {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        ...
    }
    
    @Override
    protected float getDownScaleFactor() {
        // Allow to customize the down scale factor.
        return 5.0;
    }

    @Override
    protected int getBlurRadius() {
        // Allow to customize the blur radius factor.
        return 7;
    }
    
    @Override
    protected boolean isActionBarBlurred() {
        // Enable or disable the blur effect on the action bar.
        // Disabled by default.
        return true;
    }
    
    @Override
    protected boolean isDimmingEnable() {
        // Enable or disable the dimming effect.
        // Disabled by default.
        return true;
    }

    @Override
    protected boolean isRenderScriptEnable() {
        // Enable or disable the use of RenderScript for blurring effect
        // Disabled by default.
        return true;
    }
    
    @Override
    protected boolean isDebugEnable() {
        // Enable or disable debug mode.
        // False by default.
        return true;
    }
    ...

Default values are set to :

/**
* Since image is going to be blurred, we don't care about resolution.
* Down scale factor to reduce blurring time and memory allocation.
*/
static final float DEFAULT_BLUR_DOWN_SCALE_FACTOR = 4.0f;

/**
* Radius used to blur the background
*/
static final int DEFAULT_BLUR_RADIUS = 8;

/**
* Default dimming policy.
*/
static final boolean DEFAULT_DIMMING_POLICY = false;

/**
* Default debug policy.
*/
static final boolean DEFAULT_DEBUG_POLICY = false;

/**
* Default action bar blurred policy.
*/
static final boolean DEFAULT_ACTION_BAR_BLUR = false;

/**
* Default use of RenderScript.
*/
static final boolean DEFAULT_USE_RENDERSCRIPT = false;

Avoiding inheritance

If you want to avoid inheritance, use directly the BlurEngine. Don't forget to link the engine to the lifecycle of your DialogFragment.

/**
 * Your blur fragment directly using BlurEngine.
 */
public class SampleDialogFragment extends MyCustomDialogFragment {

     /**
     * Engine used to blur.
     */
    private BlurDialogEngine mBlurEngine;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        mBlurEngine = new BlurDialogEngine(getActivity());
        mBlurEngine.setBlurRadius(8);
        mBlurEngine.setDownScaleFactor(8f);
        mBlurEngine.debug(true);
        mBlurEngine.setBlurActionBar(true);
        mBlurEngine.setUseRenderScript(true);
    }
    
    @Override
    public void onResume() {
        super.onResume();
        mBlurEngine.onResume(getRetainInstance());
    }
    
     @Override
    public void onDismiss(DialogInterface dialog) {
        super.onDismiss(dialog);
        mBlurEngine.onDismiss();
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        mBlurEngine.onDetach();
    }

    @Override
    public void onDestroyView() {
        if (getDialog() != null) {
            getDialog().setDismissMessage(null);
        }
        super.onDestroyView();
    }
    
    ...
}

Benchmark

Benchmark outdated. Please refer to the debug option of the sample in order to compare FastBlur and RenderScript.

We used a Nexus 5 running a 4.4.4 stock rom for this bench.

Down scale factor 8.0 & Blur Radius 8 : Screenshot

Radius : 8
Down Scale Factor : 8.0
Blurred achieved in : 18 ms
Allocation : 4320ko (screen capture) + 270ko (FastBlur)

Down scale factor 6.0 & Blur Radius 12 : Screenshot

Radius : 12
Down Scale Factor : 6.0
Blurred achieved in : 31 ms
Allocation : 4320ko (screen capture) + 360ko (FastBlur)

Down scale factor 4.0 & Blur Radius 20 : Screenshot

Radius : 20
Down Scale Factor : 4.0
Blurred achieved in : 75 ms
Allocation : 4320ko (screen capture) + 540ko (FastBlur)

Known bugs

  • Wrong top offset when using the following line in application Theme :
<item name="android:windowActionBarOverlay">true</item>

RenderScript or not RenderScript

Thanks to amasciul blurring effect can now be achieved using ScriptIntrinsicBlur (v1.1.0).

Find more information on the memory trace and on the execution time.

Change logs

  • 2.2.0 : Fix preDrawListener registration when there was no certitude that onPreDraw will be called thanks to Serkan Modoğlu and Mark Mooibroek reports.
  • 2.1.6 : Fix orientation change as well as retainInstance thanks to IskuhiSargsyan report and tweak FastBlur implementation to avoid the allocation of 3 additional arrays for RGB channels thanks to sh1 feedback.
  • 2.1.5 : Minor fixes thanks to Edward S and Tommy Chan.
  • 2.1.4 : Fix NPE during the blurring process thanks to Anth06ny, jacobtabak and serega2593 reports.
  • 2.1.3 : Remove unused resources thanks to ligol report.
  • 2.1.2 : Rework support of translucent status bar thanks to wangsai-silence report.
  • 2.1.1 : Fix usage without renderscript as VerifyError was fired.
  • 2.1.0 : Support AppCompatActivity and fix several bugs thanks to jacobtabak.
  • 2.0.1 : BlurEngine is back again (restore "avoiding inheritance" usage, thanks to sergiopantoja report).
  • 2.0.0 : Min SDK 9+, don't forget to check the above section "Use RenderScript in Your Project". (thanks to ligol).
  • 1.1.0 : Allow to use RenderScript (thank to amasciul).
  • 1.0.0 : Animate blurring effect, support tablet, tweak nav bar offset and reduce memory allocation.
  • 0.1.2 : Fix bottom offset introduce by the navigation bar on Lollipop.
  • 0.1.1 : Fix top offset when using Toolbar.
  • 0.1.0 : Support appcompat-v7:21.
  • 0.0.9 : Change default blur radius (8) and default down scale factor (4).
  • 0.0.8 : Fix NoClassDefFound.
  • 0.0.7 : Avoid using inheritance through BlurDialogEngine if needed.

Contributing

Contributions are welcome (: You can contribute through GitHub by forking the repository and sending a pull request.

When submitting code, please make every effort to follow existing conventions and style in order to keep the code as readable as possible. Please also make sure your code fit these convention by running gradlew check.

Credits

Credits go to Thomas Barthélémy https://github.com/tbarthel-fr and Vincent Barthélémy https://github.com/vbarthel-fr.

License

Copyright (C) 2014 tvbarthel

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Special Thanks to ...

Pavlo Dudka https://github.com/paveldudka/ , for his impressive article on Advanced blurring techniques.

Vincent Brison https://github.com/vincentbrison , for his early day support.

Alexandre Masciulli https://github.com/amasciul , for the integration of RenderScript.

Comments
  • How to make the dialog background transparent?

    How to make the dialog background transparent?

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:background="@android:color/transparent"
              android:gravity="center"
              android:orientation="vertical">
    
       <Button
        android:id="@id/cancelButton"
        android:layout_width="300dp"
        android:layout_height="50dp"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        android:layout_margin="10dp"
        android:background="@drawable/btn_morning_bg_blue"
        android:text="@string/cancel"
        android:textColor="@android:color/white"/>
      </LinearLayout>
    

    I set the background of parent layout to transparent but i get this: screen shot 1394-05-14 at 10 24 19

    opened by Morteza-Rastgoo 6
  • NPE at BlurDialogEngine#blur() during doInBackground

    NPE at BlurDialogEngine#blur() during doInBackground

    java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:299) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352) at java.util.concurrent.FutureTask.setException(FutureTask.java:219) at java.util.concurrent.FutureTask.run(FutureTask.java:239) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) at java.lang.Thread.run(Thread.java:838) Caused by: java.lang.NullPointerException at fr.tvbarthel.lib.blurdialogfragment.BlurDialogEngine.blur(BlurDialogEngine.java:273) at fr.tvbarthel.lib.blurdialogfragment.BlurDialogEngine.access$100(BlurDialogEngine.java:30) at fr.tvbarthel.lib.blurdialogfragment.BlurDialogEngine$BlurAsyncTask.doInBackground(BlurDialogEngine.java:353) at fr.tvbarthel.lib.blurdialogfragment.BlurDialogEngine$BlurAsyncTask.doInBackground(BlurDialogEngine.java:309) at android.os.AsyncTask$2.call(AsyncTask.java:287) at java.util.concurrent.FutureTask.run(FutureTask.java:234) ... 4 more

    bug 
    opened by vbarthel-fr 6
  • Background resized when keyboard is present

    Background resized when keyboard is present

    I've noticed whenever the keyboard is available in the dialog fragment, then the background gets resized to fit the entire screen. Similar to as if the activity had windowSoftInputMode set to adjustResize. Is this an issue with the library or with DialogFragments in general maybe?

    I've noticed https://github.com/Manabu-GT/EtsyBlur doesn't have the same effect.

    opened by jpshelley 5
  • Library not importing

    Library not importing

    Not sure if that's the best title, but I'm trying to integrate this with my project. I put the following line into my project specific gradle dependencies: compile 'fr.tvbarthel.blurdialogfragment:lib:2.1.2'

    Then I sync gradle, wait for that to finish, and try to import BlurDialogFragment or SupportBlurDialogFragment with no luck. I haven't had any issues integrating with other open source libraries recently. Are there any other requirements/quirks I should be aware of when using this?

    Thanks

    opened by spung 4
  • Not blurring OK

    Not blurring OK

    screenshot_2015-01-15-09-38-10

    You can see in this screen, that it's not correctly blurred. The layout is:

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout 
        xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fitsSystemWindows="true">
    
        <android.support.v7.widget.Toolbar
        android:id="@id/toolbar"
        android:layout_height="wrap_content"
        android:layout_width="match_parent"
        android:minHeight="?attr/actionBarSize"
        android:background="@color/clear_grey"
        app:theme="@style/ThemeOverlay.AppCompat.ActionBar"
        app:popupTheme="@style/ThemeOverlay.AppCompat.Dark"/>
    
        <WebView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:id="@+id/webView" />
    </LinearLayout>
    
    opened by alorma 4
  • Caused by java.lang.ArrayIndexOutOfBoundsException

    Caused by java.lang.ArrayIndexOutOfBoundsException

    Last week my project got many crash and I saw below exception, It looks like related to your library project,

    Fatal Exception: java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:300) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355) at java.util.concurrent.FutureTask.setException(FutureTask.java:222) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841) Caused by java.lang.ArrayIndexOutOfBoundsException: length=20736; index=21079 at fr.tvbarthel.lib.blurdialogfragment.FastBlurHelper.doBlur(FastBlurHelper.java:132) at fr.tvbarthel.lib.blurdialogfragment.BlurDialogEngine.blur(BlurDialogEngine.java:396) at fr.tvbarthel.lib.blurdialogfragment.BlurDialogEngine.access$100(BlurDialogEngine.java:41)

    You can help me to check to avoid this crash? Thank you so much,

    opened by huytower 3
  • Attempt to invoke virtual method on a null object reference

    Attempt to invoke virtual method on a null object reference

    java.lang.RuntimeException: Unable to destroy activity {simplecode.kz.megacam/simplecode.kz.megacam.module.player.PlayerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean fr.tvbarthel.lib.blurdialogfragment.BlurDialogEngine$BlurAsyncTask.cancel(boolean)' on a null object reference
           at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4045)
           at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4063)
           at android.app.ActivityThread.access$1400(ActivityThread.java:144)
           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1413)
           at android.os.Handler.dispatchMessage(Handler.java:102)
           at android.os.Looper.loop(Looper.java:155)
           at android.app.ActivityThread.main(ActivityThread.java:5696)
           at java.lang.reflect.Method.invoke(Method.java)
           at java.lang.reflect.Method.invoke(Method.java:372)
           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
    Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean fr.tvbarthel.lib.blurdialogfragment.BlurDialogEngine$BlurAsyncTask.cancel(boolean)' on a null object reference
           at fr.tvbarthel.lib.blurdialogfragment.BlurDialogEngine.onDestroy(BlurDialogEngine.java:199)
           at fr.tvbarthel.lib.blurdialogfragment.BlurDialogFragment.onDestroy(BlurDialogFragment.java:102)
           at android.app.Fragment.performDestroy(Fragment.java:2362)
           at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1065)
           at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1115)
           at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1097)
           at android.app.FragmentManagerImpl.dispatchDestroy(FragmentManager.java:2055)
           at android.app.Activity.performDestroy(Activity.java:6136)
           at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1169)
           at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4025)
           at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4063)
           at android.app.ActivityThread.access$1400(ActivityThread.java:144)
           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1413)
           at android.os.Handler.dispatchMessage(Handler.java:102)
           at android.os.Looper.loop(Looper.java:155)
           at android.app.ActivityThread.main(ActivityThread.java:5696)
           at java.lang.reflect.Method.invoke(Method.java)
           at java.lang.reflect.Method.invoke(Method.java:372)
           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
           ```
    
    opened by Nook2007 3
  • Blur Background goes up.

    Blur Background goes up.

    Hello,

    First of all thanks for awesome library, and sorry for my English.

    I have bug on Nexus 5 running a 5.1.1 . In all cases background view goes up. Here are screenshots from your app: 1 2

    Regards

    opened by Vram-Voskanyan 3
  • Can't use without inheritance since BlurDialogEngine is now package-private

    Can't use without inheritance since BlurDialogEngine is now package-private

    Great library!

    I see that commit be45e05afb989a040b49cdaffce2d439cf27475c made BlurDialogEngine a package-private class, which means we can't use this library without inheritance. Is this a bug or does this section of the README not apply for version 2.0.0?

    Thanks, Sergio

    bug 
    opened by sergiopantoja 3
  • [BlurEngine] fix delayed blur due to pre-draw registration

    [BlurEngine] fix delayed blur due to pre-draw registration

    Blame myself on this.

    When requesting a blur, there no certitude that a new draw pass will be performed for the holding activity decor view. Therefore registering a onPreDrawListener was completly silly if the holding activity decor view was already displayed.

    This was leading to several crashes due to registered onPreDrawListener triggered only once the dialog fragment was destroyed. HoldingActivity was at this time null and an NPE was fired. #62

    A onPreDrawListener is still needed to handle a configuration change. In fact, dialogs fragments are attached again before activity UI is drawn. That's why we have to wait onPreDraw to ensure that blurred won't be performed on black pixels. But instead on registering the onPreDrawListener every times, we check now that the decor view isn't already shown. If it's the case, we directly launch the blur process.

    Hope I won't release new critical bugs like this in the futur...

    reviewed 
    opened by tbarthel-fr 2
  • NPE press back button on BlurDialogFragment

    NPE press back button on BlurDialogFragment

    NPE press back button when MyDialogFragment which extends from BlurDialogFragment is open BlurDialogFragment Library Version is 2.1.6 About My Project
    compileSdkVersion 23 buildToolsVersion "23.0.3" minSdkVersion 15 targetSdkVersion 23

    Process: my.packagenamexxx, PID: 21110 java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window android.app.Activity.getWindow()' on a null object reference at fr.tvbarthel.lib.blurdialogfragment.BlurDialogEngine$1.onPreDraw(BlurDialogEngine.java:170) at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:921) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2164) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1191) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6642) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:777) at android.view.Choreographer.doCallbacks(Choreographer.java:590) at android.view.Choreographer.doFrame(Choreographer.java:560) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:763) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5951) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)

    bug 
    opened by sekomod 2
  • build issues on Android X

    build issues on Android X

    Hi, Thanks for providing the library.

    I tested it out on my project which was recently migrated to android X. But, it's causing build errors in the project. I need to know, if this library does have support for android X projects or not ?

    opened by vbv1 4
  • Blur Background move up when using Collapsing toolbar(With Appbarlayout)

    Blur Background move up when using Collapsing toolbar(With Appbarlayout)

    If I use normal toolbar without Appbarlayout, it works fine but when I use Appbarlayout for collapsing purpose, then the blurred background move up(hiding half of the toolbar)

    opened by ajaystha005 1
  • The Dismiss Listener and Back Button press

    The Dismiss Listener and Back Button press

    -is there any way to prevent the dismiss functionality ? -can I override the onBackPressed to close the activity when the dialog is shown? thanks in advance

    opened by abdulmalekDery 0
Releases(v2.1.6)
  • v2.1.6(May 12, 2016)

    • 2.1.6 : Fix orientation change as well as retainInstance thanks to IskuhiSargsyan report and tweak FastBlur implementation to avoid the allocation of 3 additional arrays for RGB channels thanks to sh1 feedback.
    • 2.1.5 : Minor fixes thanks to Edward S and Tommy Chan.
    • 2.1.4 : Fix NPE during the blurring process thanks to Anth06ny, jacobtabak and serega2593 reports.
    • 2.1.3 : Remove unused resources thanks to ligol report.
    • 2.1.2 : Rework support of translucent status bar thanks to wangsai-silence report.
    • 2.1.1 : Fix usage without renderscript as VerifyError was fired.
    • 2.1.0 : Support AppCompatActivity and fix several bugs thanks to jacobtabak.
    • 2.0.1 : BlurEngine is back again (restore "avoiding inheritance" usage, thanks to sergiopantoja report).
    • 2.0.0 : Min SDK 9+, don't forget to check the above section "Use RenderScript in Your Project". (thanks to ligol).
    Source code(tar.gz)
    Source code(zip)
    sample-release.apk(6.23 MB)
  • v2.0.0(Mar 29, 2015)

  • v1.1.0(Feb 21, 2015)

    Enable/disable the dimming effect (thanks to jacobtabak contribution). Enable/disable the use of RenderScript (thanks to amasciul contribution). Enable/disable the blur effect on the action bar. Add smooth transition between the background and the blurred one. Several performance improvements.

    Source code(tar.gz)
    Source code(zip)
    sample.apk(4.14 MB)
Owner
tvbarthel
tvbarthel
Backport of Material dialogs with easy-to-use API based on DialogFragment

StyledDialogs for Android Demo app: Features: Compatible with Material Design Guidelines Same look for Android 2.2+ Built on top of standard DialogFra

Avast 2.2k Dec 29, 2022
Backport of Material dialogs with easy-to-use API based on DialogFragment

StyledDialogs for Android Demo app: Features: Compatible with Material Design Guidelines Same look for Android 2.2+ Built on top of standard DialogFra

Avast 2.2k Nov 29, 2022
LicensesDialog is an open source library to display licenses of third-party libraries in an Android app.

LicensesDialog LicensesDialog is an open source library to display licenses of third-party libraries in an Android app. Download Download the latest R

PSDev 817 Dec 30, 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
⭐ ‎‎‎‏‏‎ ‎Offers a range of beautiful sheets (dialogs & bottom sheets) for quick use in your project. Includes many ways to customize sheets.

Sheets Sleek dialogs and bottom-sheets for quick use in your app. Choose one of the available sheets or build custom sheets on top of the existing fun

Maximilian Keppeler 838 Dec 30, 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 for creating animated warnings/dialogs/alerts for Android.

Noty A simple library for creating animated warnings/notifications for Android. Examples Show me code Show me code Show me code Show me code Show me c

Emre 144 Nov 29, 2022
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

Keisuke Kobayashi 553 Nov 23, 2022
A small library replicating the new dialogs in android L.

L-Dialogs A small library replicating the new dialogs in android L. Set Up (Android Studio): Download the aar here: https://www.dropbox.com/s/276bhapr

Lewis Deane 572 Nov 11, 2022
Make your native android Dialog Fancy and Gify. A library that takes the standard Android Dialog to the next level with a variety of styling options and Gif's. Style your dialog from code.

FancyGifDialog-Android Prerequisites Add this in your root build.gradle file (not your module build.gradle file): allprojects { repositories { ...

Shashank Singhal 522 Jan 2, 2023
📱 An Android Library for 💫fluid, 😍beautiful, 🎨custom Dialogs.

Aesthetic Dialogs for Android ?? ?? Android Library for ?? fluid, ?? beautiful, ?? custom Dialogs. Table of Contents: Introduction Types of Dialog Dar

Gabriel TEKOMBO 538 Dec 14, 2022
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.

Jay Petacat 135 Nov 29, 2022
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

NonZeroApps 22 Aug 23, 2022
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

Keisuke Kobayashi 553 Nov 23, 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
An easy-to-use Android library that will help you to take screenshots of specif views of your app and save them to external storage (Including API 29 Q+ with Scope Storage)

???? English | ???? Português (pt-br) ???? English: An easy to use Library that will help you to take screenshots ?? of the views in your app Step 1.

Thyago Neves Silvestre 2 Dec 25, 2021
An beautiful and easy to use dialog library for Android

An beautiful and easy to use dialog library for Android

ShouHeng 22 Nov 8, 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