Parallax image does not display correctly in lib 24.2.0 support

I just upgraded to the new lib.2 version of version 24.2.0 and experienced the following problem with parallax images in CollapsingToolbarLayout:

24.1.1

How it looked on 24.1.1

24.2.0

What does it look like now 24.2.0

These are examples from the Cheesesquare demo application , which I did not modify separately from the lib support version. This is the appropriate layout file.

It looks like the image no longer overlays CollapsingToolbarLayout.

Does anyone know what causes this and / or how to fix it?

Edit

Fixed since 24.2.1.

+4
source share
1 answer

, https://code.google.com/p/android/issues/detail?id=220389

EDITED

, ImageView # fitSystemWindows padding. ImageView :

ViewCompat.setOnApplyWindowInsetsListener(this, OnApplyWindowInsetsListener() {
    @Override
    public WindowInsetsCompat onApplyWindowInsets(View v,
            WindowInsetsCompat insets {
        return insets.consumeSystemWindowInsets();
    }
});
+2

Source: https://habr.com/ru/post/1651606/


All Articles