MaterialFavoriteButton icon indicating copy to clipboard operation
MaterialFavoriteButton copied to clipboard

Animation doesn't work

Open spapapan opened this issue 5 years ago • 7 comments
trafficstars

<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" />

spapapan avatar Jan 10 '20 15:01 spapapan

XML code looks ok, need some more information.

IvBaranov avatar Jan 10 '20 16:01 IvBaranov

It's the only thing I used from your code. What other information do you want me to provide?

spapapan avatar Jan 10 '20 16:01 spapapan

Some environment information: device where the error is reproduced, its api level, if the error is reproduced on this device while running example app?

IvBaranov avatar Jan 10 '20 16:01 IvBaranov

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.

spapapan avatar Jan 10 '20 16:01 spapapan

Does this behaviour reproduce in the example app?

IvBaranov avatar Jan 13 '20 14:01 IvBaranov

Hi, my code is same with @spapapan and animation does not work. Did you solve it ? Also, my API level is 29.

anlisgor avatar Dec 31 '21 11:12 anlisgor

Hi, my code is also same with @spapapan and the animation is not showing up.

Aryan-Sood avatar Jun 05 '23 03:06 Aryan-Sood