Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation doesn't work #21

Open
spapapan opened this issue Jan 10, 2020 · 7 comments
Open

Animation doesn't work #21

spapapan opened this issue Jan 10, 2020 · 7 comments

Comments

@spapapan
Copy link

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

@IvBaranov
Copy link
Owner

XML code looks ok, need some more information.

@spapapan
Copy link
Author

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

@IvBaranov
Copy link
Owner

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

@spapapan
Copy link
Author

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.

@IvBaranov
Copy link
Owner

Does this behaviour reproduce in the example app?

@anlisgor
Copy link

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

@Aryan-Sood
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants