An open API service indexing awesome lists of open source software.

https://github.com/nikialeksey/fullscreendialog

Android Material full screen dialog
https://github.com/nikialeksey/fullscreendialog

android dialog fullscreen material-design screen-dialog

Last synced: 12 months ago
JSON representation

Android Material full screen dialog

Awesome Lists containing this project

README

          

[![BCH compliance](https://bettercodehub.com/edge/badge/nikialeksey/FullScreenDialog?branch=master)](https://bettercodehub.com/)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/94dcc0c5d12d4c2d9aba648f0d705f60)](https://www.codacy.com/app/nikialeksey/FullScreenDialog?utm_source=github.com&utm_medium=referral&utm_content=nikialeksey/FullScreenDialog&utm_campaign=Badge_Grade)
[![codebeat badge](https://codebeat.co/badges/c0fcacc7-3aac-4c7b-8283-aa8f9e284e81)](https://codebeat.co/projects/github-com-nikialeksey-fullscreendialog-master)
[![codecov](https://codecov.io/gh/nikialeksey/FullScreenDialog/branch/master/graph/badge.svg)](https://codecov.io/gh/nikialeksey/FullScreenDialog)
[![Build Status](https://travis-ci.org/nikialeksey/FullScreenDialog.svg?branch=master)](https://travis-ci.org/nikialeksey/FullScreenDialog)
[![Dependency Status](https://www.versioneye.com/user/projects/5979d857368b080066d28d11/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/5979d857368b080066d28d11)
[![0pdd](http://www.0pdd.com/svg?name=nikialeksey/FullScreenDialog)](http://www.0pdd.com/p?name=nikialeksey/FullScreenDialog)

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/nikialeksey/FullScreenDialog/blob/master/LICENSE)
[![API](https://img.shields.io/badge/API-16%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=16)
[![Download](https://api.bintray.com/packages/pidra/maven/full-screen-dialog/images/download.svg)](https://bintray.com/pidra/maven/full-screen-dialog/_latestVersion)

# FullScreenDialog
Implementation of [full-screen-dialogs](https://material.io/guidelines/components/dialogs.html#dialogs-full-screen-dialogs)
from material guidelines.

![Video description](https://github.com/nikialeksey/FullScreenDialog/blob/master/gifs/main.gif)

### Add to project
```gradle
repositories {
jcenter()
}

dependencies {
...
compile('com.nikialeksey:fullscreendialog:@aar') {
transitive true
}
...
}
```

### Usage
```java
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();
```