Stay organized with collections
Save and categorize content based on your preferences.
Classes
ColorProtection |
A type of protection which draws the plain color.
|
GradientProtection |
A type of protection which draws the gradient color.
|
Protection |
An abstract class which describes a layer to be placed on the content of a window and underneath the system bar (which has a transparent background) to ensure the readability of the foreground elements (e.g., text, icons, ..., etc) of the system bar.
|
ProtectionLayout |
A layout drawing views under system bars, called Protection s, to ensure enough contrast between the system bars (such as status bar and navigation bar) and the app content.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.core.view.insets\n=========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/core/view/insets/package-summary \"View this page in Kotlin\") \\|Java\n\nClasses\n-------\n\n|-------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ColorProtection](/reference/androidx/core/view/insets/ColorProtection) | A type of protection which draws the plain color. |\n| [GradientProtection](/reference/androidx/core/view/insets/GradientProtection) | A type of protection which draws the gradient color. |\n| [Protection](/reference/androidx/core/view/insets/Protection) | An abstract class which describes a layer to be placed on the content of a window and underneath the system bar (which has a transparent background) to ensure the readability of the foreground elements (e.g., text, icons, ..., etc) of the system bar. |\n| [ProtectionLayout](/reference/androidx/core/view/insets/ProtectionLayout) | A layout drawing views under system bars, called [Protection](/reference/androidx/core/view/insets/Protection)s, to ensure enough contrast between the system bars (such as status bar and navigation bar) and the app content. |"]]