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
- Host: GitHub
- URL: https://github.com/nikialeksey/fullscreendialog
- Owner: nikialeksey
- License: mit
- Created: 2017-06-20T13:51:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-03T09:25:21.000Z (over 5 years ago)
- Last Synced: 2025-04-14T15:14:05.521Z (about 1 year ago)
- Topics: android, dialog, fullscreen, material-design, screen-dialog
- Language: Java
- Homepage:
- Size: 732 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://bettercodehub.com/)
[](https://www.codacy.com/app/nikialeksey/FullScreenDialog?utm_source=github.com&utm_medium=referral&utm_content=nikialeksey/FullScreenDialog&utm_campaign=Badge_Grade)
[](https://codebeat.co/projects/github-com-nikialeksey-fullscreendialog-master)
[](https://codecov.io/gh/nikialeksey/FullScreenDialog)
[](https://travis-ci.org/nikialeksey/FullScreenDialog)
[](https://www.versioneye.com/user/projects/5979d857368b080066d28d11)
[](http://www.0pdd.com/p?name=nikialeksey/FullScreenDialog)
[](https://github.com/nikialeksey/FullScreenDialog/blob/master/LICENSE)
[](https://android-arsenal.com/api?level=16)
[](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.

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