setResponseAppearance

open fun setResponseAppearance(response: String, appearance: ResponseAppearance)

Sets the appearance for @response.

message-dialog-appearance

Use ADW_RESPONSE_SUGGESTED to mark important responses such as the affirmative action, like the Save button in the example.

Use ADW_RESPONSE_DESTRUCTIVE to draw attention to the potentially damaging consequences of using @response. This appearance acts as a warning to the user. The Discard button in the example is using this appearance.

The default appearance is ADW_RESPONSE_DEFAULT.

Negative responses like Cancel or Close should use the default appearance.

Since

1.2

Parameters

response

a response ID

appearance

appearance for @response