🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

PopupProperties

Properties used to customize the behavior of a Popup.

Source set: Android
public class PopupProperties public constructor(
    internal val flags: Int,
    internal val inheritSecurePolicy: Boolean = true,
    public val dismissOnBackPress: Boolean = true,
    public val dismissOnClickOutside: Boolean = true,
    public val excludeFromSystemGesture: Boolean = true,
    public val usePlatformDefaultWidth: Boolean = false,
    public val windowType: Int = WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL,
    public val windowToken: IBinder? = null,
    public val blurBehindRadius: Dp = Dp.Unspecified,
    public val scrimAlpha: Float = Float.NaN,
)

Properties used to customize the behavior of a Popup.

Example usage:

Properties

focusable

Source set: Android
public val focusable: Boolean

Whether the popup is focusable. When true, the popup will receive IME events and key presses, such as when the back button is pressed.

securePolicy

Source set: Android
public val securePolicy: SecureFlagPolicy

Policy for how WindowManager.LayoutParams.FLAG_SECURE is set on the popup's window.

clippingEnabled

Source set: Android
public val clippingEnabled: Boolean

Whether the popup window is clipped to the screen boundaries, or allowed to extend beyond the bounds of the screen.

Functions

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int
Source set: Common
public class PopupProperties

Properties used to customize the behavior of a Popup.

Properties

focusable

Source set: Common
public val focusable: Boolean

dismissOnBackPress

Source set: Common
public val dismissOnBackPress: Boolean

dismissOnClickOutside

Source set: Common
public val dismissOnClickOutside: Boolean

clippingEnabled

Source set: Common
public val clippingEnabled: Boolean

usePlatformDefaultWidth

Source set: Common
public val usePlatformDefaultWidth: Boolean