AlertDialog.setResponseLabel

Sets the label of response to label.

Labels are displayed on the dialog buttons. An embedded underline in label indicates a mnemonic.

class AlertDialog
void
setResponseLabel
(
string response
,
string label
)

Parameters

response string

a response ID

label string

the label of response