Skip to content

Commit

Permalink
Reworking design and functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmmedrejowan committed Sep 21, 2022
1 parent 3f9f4e9 commit 3004db0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 3004db0

Please sign in to comment.