diff --git a/README.md b/README.md index 2b7414c..7f7f86a 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,8 @@ dependencies {

Custom Dialog

-```diff +```java + ... new NordanAlertDialog.Builder(this) .setAnimation(Animation.POP) .isCancellable(false) @@ -31,10 +32,11 @@ dependencies { .onPositiveClicked(() -> {/* Do something here */}) .onNegativeClicked(() -> {/* Do something here */}) .build().show(); + ... ```

Minimal Dialog

-```diff +```java new NordanAlertDialog.Builder(this) .setTitle("Dialog Title") .setMessage("Your message") @@ -44,7 +46,7 @@ dependencies { ```

Dialog with DialogType

-```diff +```java new NordanAlertDialog.Builder(this) .setDialogType(DialogType.SUCCESS) .setAnimation(Animation.SLIDE) @@ -58,7 +60,7 @@ dependencies {

Dialog with Gif icon

-```diff +```java new NordanAlertDialog.Builder(this) .setAnimation(Animation.SLIDE) .isCancellable(false) @@ -74,7 +76,7 @@ dependencies {

Nordan Loading Dialog

-```diff +```java NordanLoadingDialog.createLoadingDialog(this,"Loading...").show(); ``` ![Loading Dialog](https://github.com/Dan629pl/NordanMaterialDialog/blob/master/img/loading.gif)