MaterialFavoriteButton
MaterialFavoriteButton copied to clipboard
Animation doesn't work
<com.github.ivbaranov.mfb.MaterialFavoriteButton android:id="@+id/fav_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="5dp" android:layout_marginLeft="-6dp" android:layout_toRightOf="@+id/info_btn" app:mfb_animate_favorite="true" app:mfb_animate_unfavorite="true" app:mfb_rotation_duration="400" app:mfb_rotation_angle="360" app:mfb_bounce_duration="300" app:mfb_color="white" app:mfb_type="heart" app:mfb_size="48" />
XML code looks ok, need some more information.
It's the only thing I used from your code. What other information do you want me to provide?
Some environment information: device where the error is reproduced, its api level, if the error is reproduced on this device while running example app?
I have a sony device, 19 min API level,28 target API level, 28 API level of device. I didn't run the example app.
Does this behaviour reproduce in the example app?
Hi, my code is same with @spapapan and animation does not work. Did you solve it ? Also, my API level is 29.
Hi, my code is also same with @spapapan and the animation is not showing up.