androidx.compose.ui.window

Interfaces

DialogWindowProvider

Provides the underlying window of a dialog.

android
PopupPositionProvider

Calculates the position of a Popup on screen.

Cmn

Classes

DialogProperties

Properties used to customize the behavior of a Dialog.

Cmn
android
PopupProperties

Properties used to customize the behavior of a Popup.

Cmn
android

Enums

SecureFlagPolicy

Policy on setting WindowManager.LayoutParams.FLAG_SECURE on a window.

android

Composables

Dialog

Opens a dialog with the given content.

Cmn
android
Popup

Opens a popup with the given content.

Cmn
android

Top-level functions summary

Boolean
@TestOnly
isPopupLayout(view: View, testTag: String?)

Returns whether the given view is an underlying decor view of a popup.

android

Top-level functions

isPopupLayout

@TestOnly
fun isPopupLayout(view: View, testTag: String? = null): Boolean

Returns whether the given view is an underlying decor view of a popup. If the given testTag is supplied it also verifies that the popup has such tag assigned.

Parameters
view: View

View to verify.

testTag: String? = null

If provided, tests that the given tag in defined on the popup.