I have been searching for example when I can customize my AlertDialog in the same way the permissions are asked on Android 10 and above, with all the options in between and center aligned.
Any help will be appreciated.
I have been searching for example when I can customize my AlertDialog in the same way the permissions are asked on Android 10 and above, with all the options in between and center aligned.
Any help will be appreciated.
I have designed such a dialog in one of my projects named OptionalDialog. With this custom dialog, you can add one, two, or three options to the dialog. You can add a hint to your dialog too. To find out more, please visit the class on my GitHub account.