diff --git a/app/src/main/java/io/github/cutelibs/cutedialogdemo/MainActivity.java b/app/src/main/java/io/github/cutelibs/cutedialogdemo/MainActivity.java index 4f9df69..e8cb72b 100644 --- a/app/src/main/java/io/github/cutelibs/cutedialogdemo/MainActivity.java +++ b/app/src/main/java/io/github/cutelibs/cutedialogdemo/MainActivity.java @@ -75,8 +75,8 @@ protected void onCreate(Bundle savedInstanceState) { .setDesc("I don't know what went wrong, but there is a problem.", 0, 0, 0) .setPositiveButtonText("Try Again", R.color.white, 0) .setNegativeButtonText("Cancel", R.color.design1, 0) - .setPositiveButtonStyle(0, R.color.design1, Color.RED, 2, 0) - .setNegativeButtonStyle(0, 0, R.color.design1, 5, 0) + .setPositiveButtonStyle(0, R.color.design1, 0, 0, 0) + .setNegativeButtonStyle(0, 0, R.color.design1, 3, 0) .setPositiveButtonListener(v1 -> Toast.makeText(this, "Positive Button Clicked", Toast.LENGTH_SHORT).show()) .setNegativeButtonListener(v12 -> Toast.makeText(this, "Negative Button Clicked", Toast.LENGTH_SHORT).show()) .setCloseListener(v13 -> Toast.makeText(this, "Close Icon Clicked", Toast.LENGTH_SHORT).show())