Last active
October 25, 2022 22:01
-
-
Save ahmmedrejowan/414731c19ab1f59657b617368ad7134c to your computer and use it in GitHub Desktop.
CuteDialog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new CuteDialog.withImage(this) | |
.setImage(R.drawable.image_1) | |
.setTitle("Take a break") | |
.setDescription("Isn't it a great time to go for a walk?") | |
.show(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new CuteDialog.withIcon(this) | |
.setIcon(R.mipmap.ic_launcher) | |
.setTitle("Simple Dialog") | |
.setDescription("This is a simple Dialog") | |
.show(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new CuteDialog.withAnimation(this) | |
.setAnimation(R.raw.anim1) | |
.setTitle("Set Reminder") | |
.setDescription("Do you want me to remind you? ") | |
.show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment