Android Question Custom Layout dialog

EvgenyB4A

Active Member
Licensed User
Longtime User
Is it possible to change the layout of "OK", "Cancel" and "No" buttons in Custom Dialog?
 

Misterbates

Active Member
Licensed User
You can change the text, don't think you can change the positioning. You could make the positive text read "cancel" and the cancel text read "OK", as long as your code handled the correct result value.

I haven't explored what happens when you provide "" for all three buttons - you'd probably need to provide a custom layout that included buttons and handle the button events yourself.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…