The Developer Preview for Android 11 is now available; test it out and share your feedback.

AlertDialogButtonLayout

enum class AlertDialogButtonLayout
kotlin.Any
   ↳ kotlin.Enum<androidx.ui.material.AlertDialogButtonLayout>
   ↳ androidx.ui.material.AlertDialogButtonLayout

An enum which specifies how the buttons are positioned inside the AlertDialog:

SideBySide - positions the dismiss button on the left side of the confirm button. Stacked - positions the dismiss button below the confirm button.

Summary

Enum values

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Enum values

SideBySide

enum val SideBySide : AlertDialogButtonLayout

Stacked

enum val Stacked : AlertDialogButtonLayout