What are WindowInsets?
WindowInsets are insets (or sizes) of system views (e.g. status bar, navigation bar), that are applied to the window. It would be easy to understand on concrete example. Image this scenario: Now, you don’t want WindowInsets to be applied to the background ImageView, because in that case the ImageView would be padded by status bar … Read more