Skip to content
Nifty Modal Dialog Effects
Branch: master
Clone or download
Latest commit 95826df Jan 21, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
app update build tools Nov 6, 2017
gradle/wrapper code style Nov 6, 2017
library remove unused Jan 22, 2018
.gitattributes 💥🐫 Added .gitattributes & .gitignore files Jul 31, 2014
.gitignore Update ignore Jul 31, 2014
.travis.yml rebuild Sep 1, 2014
3dViewer.stl add 3D Viewer Oct 17, 2014 Update Jan 15, 2018
build.gradle code style Nov 6, 2017 available on Gradle Oct 15, 2014
gradlew code style Nov 6, 2017
gradlew.bat code style Nov 6, 2017
settings.gradle Initial commit Jul 31, 2014


NiftyDialogEffects is deprecated

Nifty Modal Dialog Effects look like this(Nifty Modal Window Effects)

Android Arsenal Build Status JitPack Maven


Image . Image . Image . Image


using JitPack:

repositories { 
    maven { url "" }
dependencies {
    compile 'com.github.sd6352051:NiftyDialogEffects:v1.0.3'


NiftyDialogBuilder dialogBuilder=NiftyDialogBuilder.getInstance(this);

    .withTitle("Modal Dialog")
    .withMessage("This is a modal Dialog.")


    .withTitle("Modal Dialog")                                  //.withTitle(null)  no title
    .withTitleColor("#FFFFFF")                                  //def
    .withDividerColor("#11000000")                              //def
    .withMessage("This is a modal Dialog.")                     //.withMessage(null)  no Msg
    .withMessageColor("#FFFFFFFF")                              //def  | withMessageColor(int resid)
    .withDialogColor("#FFE74C3C")                               //def  | withDialogColor(int resid)
    .withDuration(700)                                          //def
    .withEffect(effect)                                         //def Effectstype.Slidetop
    .withButton1Text("OK")                                      //def gone
    .withButton2Text("Cancel")                                  //def gone
    .isCancelableOnTouchOutside(true)                           //def    | isCancelable(true)
    .setCustomView(R.layout.custom_view,v.getContext())         //.setCustomView(View or ResId,context)
    .setButton1Click(new View.OnClickListener() {
        public void onClick(View v) {
            Toast.makeText(v.getContext(), "i'm btn1", Toast.LENGTH_SHORT).show();
    .setButton2Click(new View.OnClickListener() {
        public void onClick(View v) {
            Toast.makeText(v.getContext(),"i'm btn2",Toast.LENGTH_SHORT).show();


Fadein, Slideleft, Slidetop, SlideBottom, Slideright, Fall, Newspager, Fliph, Flipv, RotateBottom, RotateLeft, Slit, Shake, Sidefill

(See The Effect)

Developed By


Copyright 2014 litao.

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

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.

by cncounter

You can’t perform that action at this time.