Material-components-android: [Snackbar] Fade animation is flickering

Created on 3 Oct 2019  路  1Comment  路  Source: material-components/material-components-android

Description: When using Snackbar with the default ANIMATION_MODE_FADE, it looks like it's flickering when animating.
snackbar

Expected behavior: Animation should be smooth

Source code:
Snackbar.make(view, message, Snackbar.LENGTH_SHORT).show()

Android API version: API level 26

Material Library version: 1.1.0-alpha10

Device: HTC U11 life

bug

Most helpful comment

I had a similar bug and fixed it by removing the following from the parent layout
android:animateLayoutChanges="true"

>All comments

I had a similar bug and fixed it by removing the following from the parent layout
android:animateLayoutChanges="true"

Was this page helpful?
0 / 5 - 0 ratings