FoldingFeature.OcclusionType.Companion

object FoldingFeature.OcclusionType.Companion


Summary

Public fields

final @NonNull FoldingFeature.OcclusionType

The FoldingFeature occludes all content.

final @NonNull FoldingFeature.OcclusionType

The FoldingFeature does not occlude the content in any way.

Public fields

FULL

public final @NonNull FoldingFeature.OcclusionType FULL

The FoldingFeature occludes all content. One example is a hinge that is considered to be part of the window, so that part of the UI is not visible to the user. Any content shown in the same area as the hinge may not be accessible in any way. Fully occluded areas should always be avoided when placing interactive UI elements and text.

NONE

public final @NonNull FoldingFeature.OcclusionType NONE

The FoldingFeature does not occlude the content in any way. One example is a flat continuous fold where content can stretch across the fold. Another example is a hinge that has width or height equal to 0. In this case the content is physically split across both displays, but fully visible.