Skip to content
Android Material full screen dialog
Java
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Added new build tools version, updated readme, refactor Aug 13, 2017
gifs
gradle/wrapper
lib Refactor Aug 13, 2017
.travis.yml
LICENSE
build.gradle
gradle.properties
gradlew
gradlew.bat
readme.md
settings.gradle

readme.md

BCH compliance Codacy Badge codebeat badge codecov Build Status Dependency Status 0pdd

License: MIT API Download

FullScreenDialog

Implementation of full-screen-dialogs from material guidelines.

Video description

Add to project

repositories {
    jcenter()
}

dependencies {
    ...
    compile('com.nikialeksey:fullscreendialog:<latest version>@aar') {
        transitive true
    }
    ...
}

Usage

new DissmissOnActionDialog(
    new DismissOnCloseDialog(
        new FsDialog(
            context, 
            R.style.AppTheme,
            new FsDialogToolbar(context, "Title",
                new FsCloseButton(
                    new SimpleButton(
                        new ClickListener() {
                            @Override
                            public void onClick() {
                                Toast.makeText(context, "Close", Toast.LENGTH_LONG).show();
                            }
                        }), 
                        closeIcon),
                new FsActionButton(
                    new SimpleButton(
                        new ClickListener() {
                            @Override
                            public void onClick() {
                                Toast.makeText(context, "Action", Toast.LENGTH_LONG).show();
                            }
                        }), 
                        "Action")), 
            content))).show();
You can’t perform that action at this time.